Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <math.h> double modf(double x, double *iptr); |
Description | These functions split a floating-point number x into its integral and fractional parts. Both parts receive the sign of x. The functions return the fractional part of x as the result and writes the integral part as a floating-point value to the address to which iptr points. |
Return val. | Fractional part of x with the sign of x |
Notes | The iptr argument must be a pointer! |
See also |
|