1 !Program to test SCALE intrinsic function.
4 call test_real4 (3.0, 2)
5 call test_real4 (33.0, -2)
6 call test_real4 (-3., 2)
9 call test_real8 (3.0_8, 4)
10 call test_real8 (33.0_8, -4)
11 call test_real8 (-33._8, 4)
13 subroutine test_real4 (x, i)
18 if (abs (x - y) .gt. abs(x * 1e-6)) call abort
21 subroutine test_real8 (x, i)
26 if (abs (x - y) .gt. abs(x * 1e-6)) call abort