|
|
1 NAME
2 modf - compute floating point remainder
3
4 SYNOPSIS
5 float *modf(float x)
6
7
8 DESCRIPTION
9 Split the argument into a fraction f and an integer part n, such that
10 | f | < 1.0, and f + n == x. ({ f, n }) is returned. Note that
11 n is returned as a float, and may not be representable in type int.
12
13 SEE ALSO
14 kfun/frexp, kfun/ldexp