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
On v0.6.4 printf works as expected
printf
julia> @printf "%e" pi 3.141593e+00 julia> @printf "%e" pi*1e100 3.141593e+100 julia> @printf "%12.3e" pi 3.142e+00 julia> @printf "%12.3e" pi*1e100 3.142e+100
On v1.0.1 printf fails if both width and precision fields are defined and the number is large (>1e100)
julia> using Printf julia> @printf "%e" pi 3.141593e+00 julia> @printf "%e" pi*1e100 3.141593e+100 julia> @printf "%12e" pi*1e100 3.141593e+100 julia> @printf "%.3e" pi*1e100 3.142e+100 julia> @printf "%12.3e" pi*1e100 ERROR: UndefVarError: SmallNumber not defined Stacktrace: [1] top-level scope at .\printf.jl:477 [inlined] [2] top-level scope at .\none:0
The text was updated successfully, but these errors were encountered:
fix #29662: missing import from Base.Printf to Printf stdlib.
e0608a2
84b9577
fix #29662: missing import from Base.Printf to Printf stdlib. (#29663)
a97d40c
(cherry picked from commit 84b9577)
4d67521
1f92410
No branches or pull requests
On v0.6.4
printf
works as expectedOn v1.0.1
printf
fails if both width and precision fields are defined and the number is large (>1e100)The text was updated successfully, but these errors were encountered: