
21 Jan
2025
21 Jan
'25
5:50 p.m.
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/069c26a111b33123e6ce5c34b4bb0077... here it looks like -0.0 is considered less than +0.0, but is this correct? -0 and +0 are equal.