You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oils 0.23.0 installed with brew install --quiet oils-for-unix.
Currently this works: printf '%u\n' '9223372036854775807'
but this: printf '%u\n' '18446744073709551615'
instead give this error: libc++abi: terminating due to uncaught exception of type ValueError*
I think it is better if the code check what is really requested.
For "%d" and "%i" I think it should be cast to "long long",
instead for "%u", "%o" and "%x" it should be cast to "unsigned long long"
so that it will allow to use the full unsigned range.
The text was updated successfully, but these errors were encountered:
Oils 0.23.0 installed with
brew install --quiet oils-for-unix
.Currently this works:
printf '%u\n' '9223372036854775807'
but this:
printf '%u\n' '18446744073709551615'
instead give this error:
libc++abi: terminating due to uncaught exception of type ValueError*
I think it is better if the code check what is really requested.
For "%d" and "%i" I think it should be cast to "long long",
instead for "%u", "%o" and "%x" it should be cast to "unsigned long long"
so that it will allow to use the full unsigned range.
The text was updated successfully, but these errors were encountered: