JeffreySarnoff/ArbNumerics.jl

Missing nextfloat

andreasnoack opened this issue · 1 comments

This causes e.g. complex square root to fail.

julia> sqrt(complex(ArbFloat(1.0), ArbFloat(1.0)))
ERROR: MethodError: no method matching nextfloat(::ArbFloat{152}, ::Int64)
Closest candidates are:
  nextfloat(::Union{Float16, Float32, Float64}, ::Integer) at float.jl:600
  nextfloat(::AbstractFloat) at float.jl:643
Stacktrace:
 [1] nextfloat(::ArbFloat{152}) at ./float.jl:643
 [2] ssqs(::ArbFloat{152}, ::ArbFloat{152}) at ./complex.jl:427
 [3] sqrt(::Complex{ArbFloat{152}}) at ./complex.jl:441
 [4] top-level scope at none:0

present now