Encapsulation of a 8.24 fixed-point number.
More...
#include <csgeom/fixed.h>
List of all members.
Detailed Description
Encapsulation of a 8.24 fixed-point number.
- Todo:
- More operators.
Definition at line 120 of file fixed.h.
Member Function Documentation
Get "raw" fixed point number.
Definition at line 177 of file fixed.h.
csFixed24::operator int |
( |
| ) |
const [inline] |
Get integer part.
Definition at line 173 of file fixed.h.
Add a fixed point number to another.
Definition at line 166 of file fixed.h.
csFixed24& csFixed24::operator= |
( |
float |
f | ) |
[inline] |
Assign floating point number.
Definition at line 125 of file fixed.h.
Friends And Related Function Documentation
Multiply a fixed point number with a float, result is fixed.
Definition at line 157 of file fixed.h.
Subtract two fixed point numbers.
Definition at line 132 of file fixed.h.
Subtract a fixed point number from a float, result is fixed.
Definition at line 140 of file fixed.h.
Subtract a float number from a fixed point, result is fixed.
Definition at line 148 of file fixed.h.
The documentation for this class was generated from the following file: