frexp, frexpl
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The frexp function breaks down the floating-point value <x> into a
mantissa <m> and an exponent <n>. The absolute value of <m> is
greater than or equal to 0.5 and less than 1.0, and <x> is equal
to <m>*(2 to the power of <n>).
The integer exponent <n> is stored at the location pointed to by
<expptr>.
The frexpl function uses the 80-bit long double form of arguments
and return values. In all other respects, it is identical to
frexp.
Return Value
These functions return the mantissa. If <x> is 0, the function
returns 0 for both the mantissa and exponent. There is no error
return.
-♦-