Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bla3
on June 16, 2021
|
parent
|
context
|
favorite
| on:
The most copied StackOverflow snippet of all time ...
This is Java, not JavaScript. The exponents table was likely of integer type. Then it works.
alisonkisk
on June 16, 2021
[–]
How does that avoid the misrounding bug for 999,999B = 1000KB (wrong), 1MB correct?
bla3
on June 17, 2021
|
parent
[–]
D'oh, you're right.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: