Y
Hacker News
new
|
ask
|
show
|
jobs
by
ridiculous_fish
892 days ago
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