9 Oct
2025
9 Oct
'25
1:57 p.m.
Michel Morin wrote:
As a baseline, I'd suggest running the dectest (for decimal32, 64, 128) at https://speleotrove.com/decimal/
decTest also indicates which status flags are expected to be raised, (though not all of them correspond to the IEEE 754 exception flags). I might just be missing something, but it seems that Boost.Decimal doesn't support FP exceptions. There may not be enough use cases for FP exceptions, but their support is mandatory for IEEE 754. Are there any plans regarding FP exceptions? Possible implementation approaches include global/thread-local variables (e.g. C23), flag arguments (e.g. the intel library), or using a "context" argument (e.g. decNumber library). Regards, Michel