package main import "fmt" func main(){ x := uint32(64) fmt.Print(uint64(1 << 65 - 1 << x - 1)) } //https://pt.stackoverflow.com/q/288646/101
Standard input is empty
# _/home/Nn3DOj ./prog.go:6: constant 36893488147419103232 overflows uint64
Standard output is empty