frexp

Separate floating point value into significand and exponent.

real
frexp
(
real value
,
out int exp
)

Return Value

Type: real

Calculate and return x and exp such that value =x*2$(SUP exp) and .5 <= |x| < 1.0

x has same sign as value.

Special Values
valuereturnsexp
±0.0±0.00
+∞+∞int.max
-∞-∞int.min
±NaN±NaNint.min

Meta