Floats tend to be overused by programmers. Almost every real-world quantity (time, money, sensor readings...) is actually quantized, and is better represented via integers (ms, cents, etc.) The only real use case of floats is scientific computing (physics, ML, simulations...)
-
Show this thread
-
Replying to @fchollet
Should float be changed to multiples of Planck constant?
1 reply 2 retweets 16 likes
Replying to @AriDavidPaul
The fact that floats use an exponent representation instead of a fixed quantization step is actually their strength. Just don't use floats when you need fixed quantization.
0 replies
1 retweet
22 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.