Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
_pmf_
11y ago
0 comments
Share
> There are minor details wrong with JavaScript. Normally you don't encounter them in daily use.
Defaulting to doubles and not having native integral types is not a "minor detail".
0 comments
default
newest
oldest
mappu
11y ago
Doubles do have 53 bits of int precision at least. Did you know libcurl uses doubles to represent file sizes? File sizes that are always integral? Don't ask me why they did that, guess it had better platform support than int64's a hundred years ago.
j
/
k
navigate · click thread line to collapse