Code: Fixed point math
For an assignment I had to work with fixed point math. Since fixed point math can be a huge pain (especially if you need to keep track of how many bits belong to the fractional part) I have created a set of classes which makes it really simple to work with fixed point. You can find a lot more information in the accompanying blog entry.
- Download the source code: fixed point math.rar