MikeLankamp / fpm

C++ header-only fixed-point math library
https://mikelankamp.github.io/fpm
MIT License
672 stars 85 forks source link

feat: optionally disable rounding with template argument #49

Closed BigBadBoris closed 1 year ago

BigBadBoris commented 1 year ago

This is a pull request for #48.

This change should preserve backwards compatibility by defaulting EnableRounding to true. This pull request makes changes to and adds unit tests for the following:

MikeLankamp commented 1 year ago

Thanks for the quick PR! Looks good and well tested. No comments!