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
math/big: Rat.SetString accepts fractions and float strings, but not hexadecimal floats #29799
This looks like a simple oversight. It appears that at least for hexadecimal floats, the change is as simple as not requesting base=10 in the implementation of Rat.String. We might also want to accept general integer values.
At the very least, this should be documented if we don't change it.