#include <nitro/fx/fx.h>
fx32 FX_Modf(fx32 x, fx32* iPtr);
This function splits x into an integer and a remainder, both having the same sign as x.
It returns the remainder and stores the integer in *iPtr.
x |
fx32 type fixed-point number |
iPtr |
Pointer to a fx32 type fixed-point number |
fx32 type fixed-point number.
02/13/2004 Initial Version