Y
Hacker News
new
|
ask
|
show
|
jobs
by
_pmf_
4364 days ago
> 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".
1 comments
mappu
4364 days 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.
link