Return to previous page | Return to menu | Go to next page
Programmer’s Tutorial
Arithmetic function
This chapter introduces various library functions for operations supported by SGL.
11-1. General arithmetic functions
First, general arithmetic functions are introduced.
- 【FIXED slDivFX ( FIXED a , FIXED b ) ;】
- Divides between specified parameters (b / a).
- 【FIXED slMulFX ( FIXED a , FIXED b ) ;】
- Multiplies between the specified parameters (a * b).
- [FIXED slSquartFX (FIXED sqrtfx);]
- Returns the square root of an unsigned fixed point (FIXED type).
- [Uint32 slSquart (Uint32 sqrt);]
- Returns the square root of an unsigned integer value.
Return to previous page | Return to menu | Go to next page