3 ms·
Does -0.0 == +0.0 ?
by tomkaos 6y ago
Does -0.0 == +0.0 ?
- The_rationalist 6y agoIt does
- FartyMcFarter 6y agoYes, at least in C++: https://godbolt.org/z/afqYbE https://godbolt.org/z/afqYbE Its bitwise representation is different, but when compared as floats they are equal.