Return to previous page | Return to menu | Go to next page


FIXED
Arithmetic functions

slDivFX

Division (B / A)

Format

FIXED slDivFX(a , b)
FIXED a ;
FIXED b ;

Parameter

a in (B / A): divisor
b in (B / A): dividend

Function

Divide between fixed points (B / A).

Return value

The function returns the division result (B / A).

Remarks

This function does not check for overflow.

Reference: Chapter 11 Arithmetic Functions

slDivFX


Return to previous page | Return to menu | Go to next page