frexp
MudOSa4DGD/mudlib/dgd/doc/kfun/frexp · 339 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME
frexp - split float into fraction and exponent
SYNOPSIS
mixed *frexp(float x)
DESCRIPTION
The argument is split into a fraction f and an integer exponent n,
such that either f == 0.0, or 0.5 <= | f | < 1.0, and f * 2 ** n == x.
({ f, n }) is returned. If x == 0.0, both f and n will be zero.
SEE ALSO
kfun/ldexp, kfun/modf