Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ridiculous_fish
on Jan 11, 2024
|
parent
|
context
|
favorite
| on:
9999999999999999.0 – 9999999999999998.0
One unexpected consequence is the behavior around negative zero. For example:
var d = -0.0
is different than
var d = 0.0 d = -d
This IMO crosses the line into "outright bug" territory.
https://play.golang.com/p/X-JR9NdiCIC
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://play.golang.com/p/X-JR9NdiCIC