MikeLankamp / fpm

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

fix: fix behavior of isnormal for zero input #25

Closed MikeLankamp closed 3 years ago

MikeLankamp commented 3 years ago

0.0 is defined as not a normal number, but isnormal(fixed{0.0}) returned true. This has been fixed.

Closes #24