Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
intrinsic_dprod.f90
blob: a0b5406717eff46dffd6c9a1e588f99ab0aefea3 [
file
] [
log
] [
blame
]
!
Program
to test DPROD intrinsic
program intrinsic_dprod
implicit
none
real r
,
s
,
t
double
precision dp
!
6d60
doesn
't fit in a 4-byte real
r = 2e30
s = 4e30
dp = dprod (r, s)
if ((dp .gt. 8.001d60) .or. (dp .lt. 7.999d60)) STOP 1
end program