DoubleFloats.jl
DoubleFloats.jl copied to clipboard
showall does not match example
I can't replicate the examples given in the README regarding showall
.
What I get:
julia> using DoubleFloats
julia> Double64(0.2)
0.2
julia> showall(ans)
0.2
julia> Double64(2)/10
1.99999999999999999999999999999999384e-01
julia> showall(ans)
1.99999999999999999999999999999999384e-01
This is using Julia 1.10.0.
indeed. Thank you for noticing.
ahh I see ---
Julia is converting the 0.2 into a Float64 value before Double64( 0.2 ) sees the input.
Double64("0.2")
1.99999999999999999999999999999999384e-01
I will modify showall to work as expected (although the time to generate the result takes more time than doing nothing :) ) and revise the readme accordingly --