thx but have you tried it? it just gives positive on playground. пятница, 3 января 2020 г., 22:05:48 UTC+4 пользователь Ian Lance Taylor написал: > > On Fri, Jan 3, 2020 at 9:50 AM X-Thief <tel...@gmail.com <javascript:>> > wrote: > > > > Hey. Im realy newbish at bit operations > > > > Could you help me get the same result as in > https://play.golang.org/p/FWocHVrF0Wt > > On my PC and my server i got positive number from the script. But i need > negative result if it is so > > > > Any suggestions?) > > Your PC and server are probably 64-bit systems but the playground is a > 32-bit system. To get consistent results use explicit conversions to > int64. > > Ian >
-- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/3361a17f-b8e4-447a-89c1-943154834233%40googlegroups.com.