Is this just due to IEEE754 rounding mode? I think the spec says round to even.
On Wednesday, December 14, 2016 at 9:36:23 AM UTC-8, Mauro Trajber wrote: > > The float to int conversion behaves different for 32 and 64 precision. > https://play.golang.org/p/-zkCNSTbNa > > Is this the correct behavior? > > I'm using go version go1.7.4 linux/amd64 > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
