2 ! { dg-require-effective-target fortran_large_real }
3 ! { dg-xfail-if "" { "*-*-freebsd*" } { "*" } { "" } }
5 ! Testing erf and erfc library calls on large real kinds (larger than kind=8)
8 integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1)
9 real(8),parameter :: eps = 1e-8
14 #define TEST_FUNCTION(func,val) \
19 if (abs((y - x) / y) > eps) call abort
21 TEST_FUNCTION(erf,1.45123231)
22 TEST_FUNCTION(erfc,-0.123789)