modf
MudOSa4DGD/mudlib/dgd/doc/kfun/modf · 332 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME
modf - compute floating point remainder
SYNOPSIS
float *modf(float x)
DESCRIPTION
Split the argument into a fraction f and an integer part n, such that
| f | < 1.0, and f + n == x. ({ f, n }) is returned. Note that
n is returned as a float, and may not be representable in type int.
SEE ALSO
kfun/frexp, kfun/ldexp