This shows you the differences between two versions of the page.

cl:constant_variables:most-positive-short-float [2019/10/13 03:00] |
cl:constant_variables:most-positive-short-float [2020/02/21 11:00] (current) |
||
---|---|---|---|

Line 1: | Line 1: | ||

+ | ======Constant Variable MOST-POSITIVE-SHORT-FLOAT, LEAST-POSITIVE-SHORT-FLOAT, LEAST-POSITIVE-NORMALIZED-SHORT-FLOAT, MOST-POSITIVE-DOUBLE-FLOAT, LEAST-POSITIVE-DOUBLE-FLOAT, LEAST-POSITIVE-NORMALIZED-DOUBLE-FLOAT, MOST-POSITIVE-LONG-FLOAT, LEAST-POSITIVE-LONG-FLOAT, LEAST-POSITIVE-NORMALIZED-LONG-FLOAT, MOST-POSITIVE-SINGLE-FLOAT, LEAST-POSITIVE-SINGLE-FLOAT, LEAST-POSITIVE-NORMALIZED-SINGLE-FLOAT, MOST-NEGATIVE-SHORT-FLOAT, LEAST-NEGATIVE-SHORT-FLOAT, LEAST-NEGATIVE-NORMALIZED-SHORT-FLOAT, MOST-NEGATIVE-SINGLE-FLOAT, LEAST-NEGATIVE-SINGLE-FLOAT, LEAST-NEGATIVE-NORMALIZED-SINGLE-FLOAT, MOST-NEGATIVE-DOUBLE-FLOAT, LEAST-NEGATIVE-DOUBLE-FLOAT, LEAST-NEGATIVE-NORMALIZED-DOUBLE-FLOAT, MOST-NEGATIVE-LONG-FLOAT, LEAST-NEGATIVE-LONG-FLOAT, LEAST-NEGATIVE-NORMALIZED-LONG-FLOAT====== | ||

+ | |||

+ | ====Constant Value==== | ||

+ | //[[CL:Glossary:implementation-dependent]]//. | ||

+ | |||

+ | ====Description==== | ||

+ | These //[[CL:Glossary:constant variables]]// provide a way for programs to examine the //[[CL:Glossary:implementation-defined]]// limits for the various float formats. | ||

+ | |||

+ | Of these //[[CL:Glossary:variables]]//, each which has ''-normalized'' in its //[[CL:Glossary:name]]// must have a //[[CL:Glossary:value]]// which is a //[[CL:Glossary:normalized]]// //[[CL:Glossary:float]]//, and each which does not have ''-normalized'' in its name may have a //[[CL:Glossary:value]]// which is either a //[[CL:Glossary:normalized]]// //[[CL:Glossary:float]]// or a //[[CL:Glossary:denormalized]]// //[[CL:Glossary:float]]//, as appropriate. | ||

+ | |||

+ | Of these //[[CL:Glossary:variables]]//, each which has ''short-float'' in its name must have a //[[CL:Glossary:value]]// which is a //[[CL:Glossary:short float]]//, each which has ''single-float'' in its name must have a //[[CL:Glossary:value]]// which is a //[[CL:Glossary:single float]]//, each which has ''double-float'' in its name must have a //[[CL:Glossary:value]]// which is a //[[CL:Glossary:double float]]//, and each which has ''long-float'' in its name must have a //[[CL:Glossary:value]]// which is a //[[CL:Glossary:long float]]//. | ||

+ | |||

+ | ===most-positive-short-float, most-positive-single-float, most-positive-double-float, most-positive-long-float=== | ||

+ | |||

+ | Each of these //[[CL:Glossary:constant variables]]// has as its //[[CL:Glossary:value]]// the positive //[[CL:Glossary:float]]// of the largest magnitude (closest in value to, but not equal to, positive infinity) for the float format implied by its name. | ||

+ | |||

+ | ===least-positive-short-float, least-positive-normalized-short-float, least-positive-single-float, least-positive-normalized-single-float, least-positive-double-float, least-positive-normalized-double-float, least-positive-long-float, least-positive-normalized-long-float=== | ||

+ | |||

+ | Each of these //[[CL:Glossary:constant variables]]// has as its //[[CL:Glossary:value]]// the smallest positive (nonzero) //[[CL:Glossary:float]]// for the float format implied by its name. | ||

+ | |||

+ | ===least-negative-short-float, least-negative-normalized-short-float, least-negative-single-float, least-negative-normalized-single-float, least-negative-double-float, least-negative-normalized-double-float, least-negative-long-float, least-negative-normalized-long-float=== | ||

+ | |||

+ | Each of these //[[CL:Glossary:constant variables]]// has as its //[[CL:Glossary:value]]// the negative (nonzero) //[[CL:Glossary:float]]// of the smallest magnitude for the float format implied by its name. (If an implementation supports minus zero as a //[[CL:Glossary:different]]// //[[CL:Glossary:object]]// from positive zero, this value must not be minus zero.) | ||

+ | |||

+ | ===most-negative-short-float, most-negative-single-float, most-negative-double-float, most-negative-long-float=== | ||

+ | |||

+ | Each of these //[[CL:Glossary:constant variables]]// has as its //[[CL:Glossary:value]]// the negative //[[CL:Glossary:float]]// of the largest magnitude (closest in value to, but not equal to, negative infinity) for the float format implied by its name. | ||

+ | |||

+ | ----- | ||

+ | |||

+ | ====Examples==== | ||

+ | None. | ||

+ | |||

+ | ====See Also==== | ||

+ | None. | ||

+ | |||

+ | ====Notes==== | ||

+ | \issue{FLOAT-UNDERFLOW:ADD-VARIABLES} | ||