3 ms·
Is that article about the IEEE 754 positive zero, or negative zero, or both?
by Viliam1234 3y ago
Is that article about the IEEE 754 positive zero, or negative zero, or both?
- Mountain_Skies 3y agoWhen I was a junior developer fresh out of college, another junior and I noticed a bank sign with the temperature showing to be -0 degrees. We made a few comments about Two's Complement and felt a bit smug in our superiority over the manufacturer of the sign. Decades later I read an article about how -0 degrees is a standard in civil meteorology for "below freezing but rounded up to zero". Though it took a while to learn, it was a good lesson in making assumptions about standards in other domains.
- deleted 3y ago[deleted]