#Golang isn't letting me type in constants that are supposed to be "negative", and it's getting really annoying. I'll type in 0x8000000F (in this case) for an int32, and it is like MaN tHis is JUst tOo LarGe and I'm like :| #programming
golemwire@dr-topcue:~/Projects/CPUs/SubSky/Tests : go run monofieldfloat.go # command-line-arguments ./monofieldfloat.go:92:17: 0x8000000F (untyped int constant 2147483663) overflows int32
Ah OK, from `go doc -all math`: MinInt32 = -1 << 31 // -2147483648 OK. Annoying that I can't just enter what I want, but oh well. (I still love this programming language :) )
Ah OK, from `go doc -all math`:
MinInt32 = -1 << 31 // -2147483648
OK. Annoying that I can't just enter what I want, but oh well.
(I still love this programming language :) )