frexp ( x -- y exp )


Vocabulary
math.functions

Inputs
xa number


Outputs
ya float
expan integer


Word description
Break the number x into a normalized fraction y and an integral power of 2 e^.

The function returns a number y in the interval [1/2, 1) or 0, and a number exp such that x = y*(2**exp).

Definition


Methods