3 ms·
Well all computers supporting IEEE 754 floating point numbers have a positive and a negative 0. Thats quite a few. I prefer to store all my most important data
by quelsolaar 6y ago
Well all computers supporting IEEE 754 floating point numbers have a positive and a negative 0. Thats quite a few.
I prefer to store all my most important data in the sign bit of floats set to zero.
- faeyanpiraat 6y agoWhy? Isn’t that what bool is for?
- cbsks 6y agoYou missed the invisible sarcasm tag
- faeyanpiraat 6y agoˢᵒʳʳʸ
- deleted 6y ago[deleted]
- quelsolaar 6y agoIts also the key to solving this: How is the result of: a = 0; different from: a = -0; :-)