We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integer decoding methods should return nil for strings without digits, like stdlib.
nil
Int256(decoding: "", radix: 10) // ⚠️ "0" Int256(decoding: "+", radix: 10) // ⚠️ "0" Int256(decoding: "-", radix: 10) // ⚠️ "0" Int256(decoding: "~", radix: 10) // ⚠️ "0"
I fixed this a while ago in Numberick, but I have not had the time to port the fix yet.
The text was updated successfully, but these errors were encountered:
For what it's worth, the decoding methods are also 2.5x faster in Numberick 🤩
2.5x
Sorry, something went wrong.
decoding strings without digits (#117)
4b64fad
No branches or pull requests
Integer decoding methods should return
nil
for strings without digits, like stdlib.I fixed this a while ago in Numberick, but I have not had the time to port the fix yet.
The text was updated successfully, but these errors were encountered: