From: Peter Dimov (pdimov_at_[hidden])
Date: 2025-01-21 17:50:59


> I'm not quite sure whether zero needs to be a special case here. There's special
> case logic in operator< for it, but I'm not positive it's needed.

Specifically,

https://github.com/cppalliance/decimal/blob/069c26a111b33123e6ce5c34b4bb007762b32155/include/boost/decimal/decimal64_fast.hpp#L597

here it looks like -0.0 is considered less than +0.0, but is this correct? -0 and +0 are equal.