CLHS: Constant Variable MOST-POSITIVE-SHORT-FLOAT...

#

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:

implementation-dependent.

Description:

These constant variables provide a way for programs to examine the implementation-defined limits for the various float formats.

Of these variables, each which has ```-normalized`'' in its name must have a value which is a normalized float, and each which does not have ```-normalized`'' in its name may have a value which is either a normalized float or a denormalized float, as appropriate.

Of these variables, each which has ```short-float`'' in its name must have a value which is a short float, each which has ```single-float`'' in its name must have a value which is a single float, each which has ```double-float`'' in its name must have a value which is a double float, and each which has ```long-float`'' in its name must have a value which is a long float.

- most-positive-short-float, most-positive-single-float, most-positive-double-float, most-positive-long-float

  Each of these constant variables has as its value the positive 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 constant variables has as its value the smallest positive (nonzero) 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 constant variables has as its value the negative (nonzero) float of the smallest magnitude for the float format implied by its name. (If an implementation supports minus zero as a different 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 constant variables has as its value the negative 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:

The following X3J13 cleanup issue, not part of the specification, applies to this section:

- FLOAT-UNDERFLOW:ADD-VARIABLES

Copyright 1996-2005, LispWorks Ltd. All rights reserved.