INtime SDK Help
modf

Splits a value into fractional and integer parts, retaining the sign.

#include <math.h>

double modf (double x, double *intptr);

Parameters

x
Value to split.
intptr
Pointer to integer portion stored as a double value.

Return Values

The signed fractional portion of x.

No error return.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/math.h math.h clib.lib

See Also

frexp, ldexp