Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dimsumbytes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
dimsumbytes
5y ago
Again, not trying to be that guy, but technically it still breaks: a = -0.0 b = 0.0
2.
▲
by
dimsumbytes
5y ago
Sorry to be that guy, but this doesn't work in languages that use floats: let a = 9007199254740992; let b = 1; a = a + b b = a - b a = a - b a // 1 b // 9007199254740991
3.
▲
by
dimsumbytes
5y ago
It's been 13 years. How long would we wait before we declare it unproductive?