Open
Description
Example:
julia> format.(logrange(1.2e-12, 1.2e12, 25); autoscale=:metric)
25-element Vector{String}:
"1.2p"
"0.012n"
"0.12n"
"1.2n"
"0.012μ"
"0.12μ"
"1.2μ"
"0.012m"
"0.12m"
"1.2m"
"0.012"
"0.12"
"1.2"
"12"
"120"
"1.2k"
"12k"
"120k"
"1.2M"
"12M"
"120M"
"1.2G"
"12G"
"120G"
"1.2T"
Specifically, instead of results like "0.012n"
and "0.12n"
I expected "12p"
and "120p"
.
Test coverage only hits exponents which are multiple of 3. I don't know what the intended behavior is. My expectation is from using the ENG mode of HP RPN calculators.
Is this a bug or am I applying the wrong prior?
Metadata
Metadata
Assignees
Labels
No labels