value =x*2exp and .5 <= |x| < 1.0
x has same sign as value.| value | returns | exp |
|---|---|---|
| ±0.0 | ±0.0 | 0 |
| +∞ | +∞ | int.max |
| -∞ | -∞ | int.min |
| ±NaN | ±NaN | int.min |
T frexp(T)(const T value, out int exp) if (isFloatingPoint!T) @trusted pure nothrow @nogcSeparate floating point value into significand and exponent.
value =x*2exp and .5 <= |x| < 1.0
x has same sign as value.| value | returns | exp |
|---|---|---|
| ±0.0 | ±0.0 | 0 |
| +∞ | +∞ | int.max |
| -∞ | -∞ | int.min |
| ±NaN | ±NaN | int.min |