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

Docs: mention rounding mode(s)? #61

Open
jwdevel opened this issue Dec 16, 2023 · 0 comments
Open

Docs: mention rounding mode(s)? #61

jwdevel opened this issue Dec 16, 2023 · 0 comments

Comments

@jwdevel
Copy link

jwdevel commented Dec 16, 2023

It would be good to mention what support for different rounding modes the library supports.

One thing that annoyed me about libfixmath is that its docs just says it supports "proper" rounding, but doesn't say what kind (it's actually round-half-away-from-zero). Default for IEEE floating point is "round half to even," (if I recall correctly) though that's more annoying to implement in fixed point.

Some libraries have only one mode supported, some have it configurable; would be nice to know where this one stands.

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

No branches or pull requests

1 participant