Synopsis
float modff(float x,
            float *iptr);
Description

modff breaks x into integral and fractional parts, each of which has the same type and sign as x.

The integral part (in floating-point format) is stored in the object pointed to by iptr and modff returns the signed fractional part of x.