JeffreySarnoff/ArbNumerics.jl

sincos triggers stackoverflow

saschatimme opened this issue · 1 comments

This is basically the same I already fixed in DoubleFloats:

julia> sincos(ArbFloat{100}(rand()))
ERROR: StackOverflowError:
Stacktrace:
 [1] sincos(::ArbFloat{100}) at ./special/trig.jl:204
 [2] _sincos(::ArbFloat{100}) at ./special/trig.jl:201
 ... (the last 2 lines are repeated 39998 more times)
 [79999] sincos(::ArbFloat{100}) at ./special/trig.jl:204

fixed (untested)