4 ! Do not run with -pedantic checks enabled as "check"
5 ! contains internal procedures which is a vendor extension
18 x8
= 1.9_8
; x4
= 1.9_4
20 call check(erfc_scaled(x8
), erfc_scaled(1.9_8
))
21 call check(erfc_scaled(x4
), erfc_scaled(1.9_4
))
24 subroutine check_r4 (a
, b
)
25 real(kind
=4), intent(in
) :: a
, b
26 if (abs(a
- b
) > 1.e
-5 * abs(b
)) call abort
28 subroutine check_r8 (a
, b
)
29 real(kind
=8), intent(in
) :: a
, b
30 if (abs(a
- b
) > 1.e
-7 * abs(b
)) call abort