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. Using this function will be faster than the C modular operator.
Refer to Divider Usage Notes when using this function inside an interrupt.

See Also

Revision History

02/13/2004 Initial version.


CONFIDENTIAL