Page 1 of 1

Rotation/Scaling Fixed Point Math?

PostPosted: Mar 21, 2003 @ 11:48pm
by DillRye

PostPosted: Mar 22, 2003 @ 7:00am
by efortier
Here is a little contribution. This is my FixedPoint class which I currently use.

Most operators have been tried by hand, and the class works very well. The precision is indeed limited as it uses 16.16.

If anyone uses this, the only thing I ask is that I any optimization, fixed or changes are sent back to me (pretty please ;)

http://www.techlogic.ca/aw/fixed.zip

The zip file was tested and works correctly.

Let me know how it works.

--Eric
efortier@techlogic.ca