John Maddock wrote:
Boost.Decimal is an implementation of IEEE 754 <https://standards.ieee.org/ieee/754/6210/> <https://standards.ieee.org/ieee/754/6210/%3E> and ISO/IEC DTR 24733 <https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2849.pdf> <https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2849.pdf%3E> Decimal Floating Point numbers.
For a Boost-qualified library that implements IEEE 754 decimal FP, I expect "the basics to work correctly." To achieve that, I believe being rigorously tested is essential. As a baseline, I'd suggest running the dectest (for decimal32, 64, 128) at https://speleotrove.com/decimal/, although its tests for decimal32 and for BID encoding are weak and would need to be supplemented. I've tried running some of those tests (`ddAdd.decTest`, `ddEncode.decTest`, ....) myself, and they included failing test cases. Regards, Michel