Next: , Previous: , Up: FloatQ   [Index]


1.83.2 FloatQ class: characterization

decimalDigits

Return the number of decimal digits of precision for a FloatQ. Technically, if P is the precision for the representation, then the decimal precision Q is the maximum number of decimal digits such that any floating point number with Q base 10 digits can be rounded to a floating point number with P base 2 digits and back again, without change to the Q decimal digits.

e

Returns the value of e. Hope is that it is precise enough

emax

Return the maximum allowable exponent for a FloatQ that is finite.

emin

Return the maximum allowable exponent for a FloatQ that is finite.

fmax

Return the largest normalized FloatQ that is not infinite.

fminNormalized

Return the smallest normalized FloatQ that is > 0

infinity

Return a FloatQ that represents positive infinity.

ln10

Returns the value of ln 10. Hope is that it is precise enough

log10Base2

Returns the value of log2 10. Hope is that it is precise enough

nan

Return a FloatQ that represents a mathematically indeterminate value (e.g. Inf - Inf, Inf / Inf).

negativeInfinity

Return a FloatQ that represents negative infinity.

pi

Returns the value of pi. Hope is that it is precise enough

precision

Answer the number of bits in the mantissa. 1 + (2^-precision) = 1


Next: , Previous: , Up: FloatQ   [Index]