FX_Modf

Syntax

#include <nitro/fx/fx.h>

fx32 FX_Modf(fx32 x, fx32* iPtr);

Arguments

x fx32-format fixed-point decimal.
iPtr Pointer to a fx32 type fixed-point number.

Return Values

fx32-format fixed-point decimal.

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.

See Also

Revision History

2004/02/13 Initial version.


CONFIDENTIAL