Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jk-jeon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jk-jeon
1y ago
Note that the consumer side doesn't really have a lot of ambiguity. You just read the number, compute its precise value as written, round it to the closest binary representation with banker's rounding. You do anything other than t
2.
▲
by
jk-jeon
1y ago
A way to achieve perfect round-tripping was proposed back in 1990, by Steele and White (and likely they are not the first ones who came up with a similar idea). I guess their proposal probably wasn't extremely popular at least until 20
3.
▲
by
jk-jeon
2y ago
Not sure what you mean by decimal points. Did you mean the number of decimal digits to be printed in total, or the number of digits after the decimal dot, or something else? In any case, what Dragonbox and other modern floating-point format
4.
▲
by
jk-jeon
2y ago
https://github.com/jk-jeon/dragonbox/discussions/57#discussi... We have been doing some experiment on optimizing for size, and currently it can be reduced to ~3k on 8-bit AVR. It only contains impl/table