We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccfa140 commit 230d7f1Copy full SHA for 230d7f1
test/airy_test.jl
@@ -2,7 +2,7 @@
2
# these are prone to some cancellation as they are indirectly calculated from relations to bessel functions
3
# this is amplified for negative arguments
4
# the implementations provided by SpecialFunctions.jl suffer from same inaccuracies
5
-for x in [0.0; rand(10000)*100]
+for x in [0.0; 1e-17:0.1:100.0]
6
@test isapprox(airyai(x), SpecialFunctions.airyai(x), rtol=1e-12)
7
@test isapprox(airyai(-x), SpecialFunctions.airyai(-x), rtol=1e-9)
8
0 commit comments