modf breaks down x into its integer portion (which it
stores in *pint) and the remaining fractional portion, which it
returns. Both integer and fractional portions have the same sign as
x, except if x is a negative zero, in which case the integer
part is a positive zero.
Return Value
The fractional portion. If x is Inf or NaN, the
return value is zero, the integer portion stored in *pint is the
same as the value of x, and errno is set to EDOM.
Please take a moment to fill out
this visitor survey You can help support this site by
visiting the advertisers that sponsor it! (only once each, though)