FX_Mod

C Specification

#include <nitro/fx/fx_cp.h>

fx32 FX_Mod(fx32 numer, fx32 denom);

Arguments

numer fx32 type fixed-point numerator
denom fx32 type fixed-point denominator

Return Values

Remainder of numer/denom

Description

This function uses two fx32 types for division and returns the remainder as an fx32 type. The Divider is used internally. The sign for the remainder is the same as numer.

See Also

Revision History

02/13/2004 Initial version.