Function |
Function name |
number |
〈Fixed point arithmetic〉 | |
| | Multiplication Routine | MTH_Mul | 27 |
| | Division routine | MTH_Div | 28 |
| | Fixed-point-> Floating-point type conversion macro | MTH_FLOAT | 29 |
| | Floating point-> Fixed point type conversion macro | MTH_FIXED | 30 |
| | Integer-> Fixed-point type conversion routine | MTH_IntToFixed | 31 |
| | Fixed-point-> integer conversion routine | MTH_FixedToInt | 32 |
| | ternary product-sum operation | MTH_Product | 33 |
〈Other functions〉 | |
| | Square root calculation | MTH_Sqrt | 34 |
| | Calculate hypotenuse length of right triangle | MTH_Hypot | 35 |
| | surface normal vector calculation | MTH_CompateNormVect | 36 |