File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 2323 @test isnan (erf (T (NaN )))
2424
2525 @test @inferred (erfc (T (1 ))) isa T
26- @test erfc (T (1 )) ≈ T (0.15729920705028513066 ) rtol= 2 * eps (T)
26+ @test erfc (T (0.25 )) ≈ T (0.7236736098317631 ) rtol= 2 * eps (T)
27+ @test erfc (T (0.75 )) ≈ T (0.28884436634648486 ) rtol= 2 * eps (T)
28+ @test erfc (T (1.0 )) ≈ T (0.15729920705028513 ) rtol= 2 * eps (T)
29+ @test erfc (T (2.0 )) ≈ T (0.004677734981047266 ) rtol= 2 * eps (T)
30+ @test erfc (T (3.0 )) ≈ T (2.209049699858544e-5 ) rtol= 2 * eps (T)
31+ @test erfc (T (4.0 )) ≈ T (1.541725790028002e-8 ) rtol= 2 * eps (T)
32+ @test erfc (T (5.0 )) ≈ T (1.537459794428035e-12 ) rtol= 2 * eps (T)
33+ @test erfc (T (6.0 )) ≈ T (2.1519736712498913e-17 ) rtol= 2 * eps (T)
34+
35+ @test erfc (T (- 0.25 )) ≈ T (1.276326390168237 ) rtol= 2 * eps (T)
36+ @test erfc (T (- 0.75 )) ≈ T (1.7111556336535152 ) rtol= 2 * eps (T)
37+ @test erfc (T (- 1.0 )) ≈ T (1.8427007929497148 ) rtol= 2 * eps (T)
38+ @test erfc (T (- 1.5 )) ≈ T (1.9661051464753108 ) rtol= 2 * eps (T)
39+ @test erfc (T (- 2.5 )) ≈ T (1.999593047982555 ) rtol= 2 * eps (T)
40+ @test erfc (T (- 3.5 )) ≈ T (1.9999992569016276 ) rtol= 2 * eps (T)
41+ @test erfc (T (- 4.5 )) ≈ T (1.999999999803384 ) rtol= 2 * eps (T)
42+ @test erfc (T (- 6.0 )) ≈ T (2 ) rtol= 2 * eps (T)
43+
44+ @test isnan (erfc (T (NaN )))
2745
2846 @test @inferred (erfcx (T (1 ))) isa T
2947 @test erfcx (T (1 )) ≈ T (0.42758357615580700442 ) rtol= 2 * eps (T)
You can’t perform that action at this time.
0 commit comments