3 ms·
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
by ridiculous_fish 3y 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 https://play.golang.com/p/X-JR9NdiCIC