File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed
Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -55,21 +55,19 @@ include(joinpath(@__DIR__, "testutils.jl"))
5555 end
5656
5757 @testset " BigFloat relative tolerance bug test Issue #557" begin
58- if false # disabled due to Julia issue https://github.com/JuliaLang/julia/issues/25853
59- x = Fun (BigFloat (0 ).. BigFloat (20_000 ));
60- ν = BigFloat (1568 )
61- f = x^ (ν/ 2 - 1 ) * exp (- x/ 2 )
62- # TODO : JacobiWeight should support general types to avoid warning here
63- @test f (10.0 ) ≈ 10.0 ^ (ν/ 2 - 1 ) * exp (- 10.0 / 2 ) rtol= eps ()
64- ex_mathematica = big " 8.6494114955713766301430915207861966687081153e778"
65- @test (cumsum (f)(10.0 ) - ex_mathematica)/ ex_mathematica ≤ eps ()
66-
67- x = Fun (BigFloat (0 ).. BigFloat (Inf ))
68- ν = BigFloat (1568 )
69- f = x^ (ν/ 2 - 1 ) * exp (- x/ 2 )
70- @test f (10.0 ) ≈ 10.0 ^ (ν/ 2 - 1 ) * exp (- 10.0 / 2 ) rtol= eps ()
71- @test_skip (cumsum (f)(10.0 ) - ex_mathematica)/ ex_mathematica ≤ eps ()
72- end
58+ x = Fun (BigFloat (0 ).. BigFloat (20_000 ));
59+ ν = BigFloat (1568 )
60+ f = x^ (ν/ 2 - 1 ) * exp (- x/ 2 )
61+ # TODO : JacobiWeight should support general types to avoid warning here
62+ @test f (10.0 ) ≈ 10.0 ^ (ν/ 2 - 1 ) * exp (- 10.0 / 2 ) rtol= eps ()
63+ ex_mathematica = big " 8.6494114955713766301430915207861966687081153e778"
64+ @test (cumsum (f)(10.0 ) - ex_mathematica)/ ex_mathematica ≤ eps ()
65+
66+ x = Fun (Ray (BigFloat (0 ).. BigFloat (Inf )))
67+ ν = BigFloat (1568 )
68+ f = x^ (ν/ 2 - 1 ) * exp (- x/ 2 )
69+ @test f (10.0 ) ≈ 10.0 ^ (ν/ 2 - 1 ) * exp (- 10.0 / 2 ) rtol= eps ()
70+ @test_skip (cumsum (f)(10.0 ) - ex_mathematica)/ ex_mathematica ≤ eps ()
7371 end
7472
7573 @testset " #641" begin
You can’t perform that action at this time.
0 commit comments