You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a C# port of the excellent libfixmath library, which can currently be found at http://code.google.com/p/libfixmath/
2
2
3
-
It implements a fixed-point 16.16 numeric type and transcendent operations on it (square root, trig, etc).
3
+
It implements a 64 bit fixedpoint 32.32 numeric type and transcendent operations on it (square root, trig, etc).
4
4
5
-
It is covered by unit tests, most of which are also ported from libfixmath.
5
+
It is covered by unit tests, most of which are also ported from libfixmath.
6
+
7
+
The solution includes 3 different types but the most developed and tested one is Fix64.
8
+
Fix8 and Fix16 were mainly used for experimentation.
9
+
10
+
Note that the type requires explicit casts to convert to floating point and this is intentional, the difference between fixed point and floating point math is as important as the one between floating point and integral math.
0 commit comments