Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algebra: Fixed-point arithmetic #68

Open
Helco opened this issue Nov 25, 2018 · 1 comment
Open

Algebra: Fixed-point arithmetic #68

Helco opened this issue Nov 25, 2018 · 1 comment
Projects

Comments

@Helco
Copy link
Owner

Helco commented Nov 25, 2018

  • 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 Pebble: Measure performance #67
@Helco Helco added this to To do in Meistertask via automation Nov 25, 2018
@Helco
Copy link
Owner Author

Helco commented Dec 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Meistertask
  
To do
Development

No branches or pull requests

1 participant