Clib.frexp()
syntax: |
Clib.frexp(x, exp) |
where: |
x - number to work with.
exp - exponent used with a mantissa.
|
return: |
number - mantissa with and absolute value between 0.5 and 1.0. If x is 0, return 0.
|
description: |
This method breaks x into a normalized mantissa between 0.5 and 1.0 and calculates an integer exponent of 2 such that x == mantissa * 2 ^ exponent. The return is normalized mantissa between 0.5 and 1.0, or 0. The exponent used is in x. See Clib.ldexp().
|
see: |
Clib.exp(), Clib.ldexp(), Clib.pow()
|