issues
search
Helco
/
PebbleOfDoom
A platform is only hackable when some form of Doom is ported to it, let's make Pebble hackable!
MIT License
6
stars
0
forks
source link
Algebra: Fixed-point arithmetic
#68
Open
Helco
opened
6 years ago
Helco
commented
6 years ago
Find a suitable library for fixed-point arithmetic
Integrate with CMake behind compile constant
Add tests to check precision, particular in higher-valued calculations (+/- 10000)
Test renderer on pc and pebble
Measure performance difference with #67
Helco
commented
5 years ago
Research notes:
libfixmath
seems suitable:
Q16.16 type (integer part +- 2^16, fractional part: 1 / (2 ^16))
tested on ARM-Cortex M0
seems easy to integrate
has all of the necessary functions