FX_ModS32

C Specification

#include <nitro/fx/fx_cp.h>

s32 FX_ModS32(s32 a, s32 b);

Arguments

a s32 type integer numerator
b   s32 type integer denominator

Return Values

Remainder from the integer division.

Description

This function divides s32 types and returns the remainder as an s32 type. The Divider is used internally. This function is faster than the C modular operator.

See Also

Revision History

02/13/2004 Initial version.