drbitboy
Lifetime Supporting Member
According to the IEEE 754 standard, negative zero and positive zero should compare as equal with the usual (numerical) comparison operators, like the == operators of C and Java. In those languages, special programming tricks may be needed to distinguish the two values
Source: https://en.wikipedia.org/wiki/Signed_zero#Comparisons