Re: [go-nuts] int int32 int64

2018-03-16 Thread Burak Serdar
On Fri, Mar 16, 2018 at 12:11 PM, Alex Dvoretskiy wrote: > Hello Golangnuts, > > I'm experiencing unexpected behavior. Trying to reverse integer. > > This code works on 64-bit machine, but working wrong on 32-bit: > > https://play.golang.org/p/p4Ptu8cx-b7 on 32-bit machine, int is 32 bits, and th

[go-nuts] int int32 int64

2018-03-16 Thread Alex Dvoretskiy
Hello Golangnuts, I'm experiencing unexpected behavior. Trying to reverse integer. This code works on 64-bit machine, but working wrong on 32-bit: https://play.golang.org/p/p4Ptu8cx-b7 How can I generate an error in this case? Thanks -- You received this message because you are subscribed t