2 ! { dg-require-effective-target fortran_large_real }
4 ! Testing erf and erfc library calls on large real kinds (larger than kind=8)
7 integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1)
8 real(8),parameter :: eps = 1e-8
13 #define TEST_FUNCTION(func,val) \
18 if (abs((y - x) / y) > eps) call abort
20 TEST_FUNCTION(erf,1.45123231)
21 TEST_FUNCTION(erfc,-0.123789)