MikeLankamp / fpm

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

std::numeric_limits<>::has_denorm shall be of type float_denorm_style, not bool #43

Closed pavel-kirienko closed 2 years ago

pavel-kirienko commented 2 years ago

Here, the type should be std::float_denorm_style:

https://github.com/MikeLankamp/fpm/blob/728156d3e848927b1b9105c31c690c9c79c1b6ca/include/fpm/fixed.hpp#L375