4 ms·
You can always use fixed points instead of floating points if you have to use decimal numbers. https://en.wikipedia.org/wiki/Fixed-point_arithmetic https://en.w
by mcraiha 8y ago
You can always use fixed points instead of floating points if you have to use decimal numbers.
https://en.wikipedia.org/wiki/Fixed-point_arithmetic https://en.wikipedia.org/wiki/Fixed-point_arithmetic
There are many libraries for that, e.g. https://github.com/XMunkki/FixPointCS https://github.com/XMunkki/FixPointCS