FX_Modf


C Specification

#include <nitro/fx/fx.h>

fx32 FX_Modf(fx32 x, fx32* iPtr);

Description

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.

Arguments

x fx32 type fixed-point number
iPtr Pointer to a fx32 type fixed-point number

Return Values

fx32 type fixed-point number.

See Also

Revision History

02/13/2004 Initial Version