You can read about Fixed Point Arithmetic on Wikipedia here. It's a slightly complex explanation of how to do simple math operations on floating point numbers using just integer data-types.
Download Files
![]() | Source Code (1 Kb) |
CFixedMath classThis article was submitted . A tiny class implementing fixed 16.16 integer math.
You can read about Fixed Point Arithmetic on Wikipedia here. It's a slightly complex explanation of how to do simple math operations on floating point numbers using just integer data-types. Download Files
| ![]() | |||