Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: better error message for bad constants #20232
The spec says:
So it's okay for go/types to accept it; but since the exponent exceeds 16 bits, it's also okay for cmd/compile to reject it with an error.
However, we could definitely emit a better error message. This is the TODO in gc/mpfloat.go: