Returns the positive fractional part of its first argument and assigns the integer part, expressed as an object of type double, to the object whose address is specified by the second argument.
#include <math.h> double modf (double value, double *iptr);