Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: A high-performance TensorFlow library for quantitative finance. Parent comment
https://stackoverflow.com/questions/2550281/floating-point-v...
Floats were not historically adopted for speed, but because you can get more decimal places with small numbers like 8 bit numbers.
Today with 64 and 128 bit numbers, floating point loses most of its historical benefit, but of course it still has its benefits.
There are no comments on this comment yet.
https://stackoverflow.com/questions/2550281/floating-point-v...
Floats were not historically adopted for speed, but because you can get more decimal places with small numbers like 8 bit numbers.
Today with 64 and 128 bit numbers, floating point loses most of its historical benefit, but of course it still has its benefits.