decimal_for_cpp
decimal_for_cpp copied to clipboard
Edge cases failing
Hey congrats for this work! I am using decimal_for_cpp for checking the results of some other algorithm (fpga) when I came across to a few test cases that are failing when apparently they should not. I want to check if this is expected behavior. For example:
BOOST_CHECK_EQUAL( dec::decimal<0>::buildWithExponent(1,-23), dec::decimal<0>("0"));
This test should not fail but it is right now. This can be seen as an underflow, right?