I just came to a conclusion by trial & error that untyped constants
may have a value of 1e646_456_992
at max, I couldn’t find any relevant info in golang specifications though.
It appears that that is the maximum value that can fit into a 32-bit exponent based on my understanding of this comment/issue: cmd/compile: truncates constants · Issue #11326 · golang/go · GitHub
1 Like
I’ve looked through the specs but couldn’t handle exactly what it meant, it’s all clear; thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.