| modf | Function (ROM Call 0x102*)

math.h, timath.h

float modf (float x, float *ipart);

Splits floating point value into integer and fraction part.

modf breaks the floating point value x into two parts: the integer and the fraction, both having the same sign as x. It stores the integer in a floating point destination pointed to by ipart and returns the fractional part of x.

Uses: _bcd_math
Used by: did_push_anti_deriv, push_perm