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
julia> using MultiFloats
julia> MultiFloats.use_standard_multifloat_arithmetic(20)
julia> g(n::Integer) = rand(MultiFloat{Float64, n})
g (generic function with 1 method)
julia> x = g(20)
-2.2914735159347884e+302
julia> 1 < x
false
julia> x < -1
true
julia> Float64(x)
0.6714350546186427
So it seems there are multiple issues here:
rand produces a number of huge magnitude
rand produces negative number
the conversion to Float64 (producing a positive number) is not consistent with the < operator
The text was updated successfully, but these errors were encountered:
So it seems there are multiple issues here:
rand
produces a number of huge magnituderand
produces negative numberFloat64
(producing a positive number) is not consistent with the<
operatorThe text was updated successfully, but these errors were encountered: