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
When formatting some numbers (I have only seen this for 1e-10) using exponential notation, a wild slash appears, see below:
1e-10
julia> using Format julia> format("{1:.16g}", 1e-10) "1.000000000000000/e-10" julia> format("{1:.16g}", 1e-5) "1.0000000000000000e-05" julia> format("{1:.17g}", 1e-10) "1.00000000000000000e-10" julia> format("{1:.17g}", 1e-5) "1.00000000000000000e-05" julia> format("{1:.16e}", 1e-10) "1.000000000000000/e-10" julia> format("{1:.16e}", 1e-9) "1.0000000000000000e-09" julia> format("{1:.16e}", 1e-10) "1.000000000000000/e-10" julia> format("{1:.16e}", 2e-10) "1.9999999999999996e-10" (tmp) pkg> st Status `/private/tmp/Project.toml` [1fa38f19] Format v1.3.7
As seen above, I can somehow avoid it by increasing to 17 decimals, but it seems slightly arbitary.
The text was updated successfully, but these errors were encountered:
Decreased composition threshold for two calculations
f331f80
Workaround for JuliaString/Format.jl#85
No branches or pull requests
When formatting some numbers (I have only seen this for
1e-10
) using exponential notation, a wild slash appears, see below:As seen above, I can somehow avoid it by increasing to 17 decimals, but it seems slightly arbitary.
The text was updated successfully, but these errors were encountered: