Closed Klummel69 closed 3 years ago
The following test code leads to an assertion
fpm::fixed_16_16 x {fpm::fixed_16_16::from_raw_value(-2147483647 - 1) }; std::cout << x << std::endl;
Message: Assertion failed! File: fpm/ios.hpp, Line 99 Expression: value.raw >= 0
Reason in Line91: value.raw = -value.raw; not possible for INT32_MIN.
value.raw = -value.raw;
The following test code leads to an assertion
Message: Assertion failed! File: fpm/ios.hpp, Line 99 Expression: value.raw >= 0
Reason in Line91:
value.raw = -value.raw;
not possible for INT32_MIN.