FX_DivS32

Syntax

#include <nitro/fx/fx_cp.h>

s32 FX_DivS32(s32 a, s32 b);

Arguments

a s32 type integer numerator
b s32 type integer denominator

Return Values

Division results.

Description

This function performs division with two s32 types. The results are returned in an s32 format. The Divider is used internally. This function is faster than normal C integer division.

Refer to Divider Usage Notes when using this function inside an interrupt.

See Also

Revision History

2004/02/13 Initial version.


CONFIDENTIAL