Bessels.jl
Bessels.jl copied to clipboard
Large argument inaccuracy for Float32 in besselj0
julia> Bessels.besselj0(328049.34f0)
-0.0013240778f0
julia> Bessels.besselj0(Float64(328049.34f0))
-0.0013258623831875669
I'm imagining the better sin sum here could help.
Originally posted by @heltonmc in https://github.com/JuliaMath/Bessels.jl/pull/88#discussion_r1162007124
The fix should be with the better sin_sum
PR. Need to test further.