Open spira-inhabitant opened 11 months ago
https://github.com/bernedom/SI/blob/63b267211a6f256f7ba8d5a26e17138bbcf95ba8/include/SI/detail/eps_equal.h#L24
If two variables are set to std::numeric_limits<double>::infinity(), == will return false.
std::numeric_limits<double>::infinity()
==
Thanks for the heads up, I'll have to look into it how to fix that without adding too much overhead as this operation could happen in very frequently
https://github.com/bernedom/SI/blob/63b267211a6f256f7ba8d5a26e17138bbcf95ba8/include/SI/detail/eps_equal.h#L24
If two variables are set to
std::numeric_limits<double>::infinity()
,==
will return false.