repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
intrinsic_dprod.f90
blob
a0b5406717eff46dffd6c9a1e588f99ab0aefea3
1
! Program to test DPROD intrinsic
2
program
intrinsic_dprod
3
implicit none
4
real
r
,
s
,
t
5
double precision
dp
6
7
! 6d60 doesn't fit in a 4-byte real
8
r
=
2
e30
9
s
=
4
e30
10
dp
=
dprod
(
r
,
s
)
11
if
((
dp
.
gt
.
8.001d60
) .
or
. (
dp
.
lt
.
7.999d60
))
STOP
1
12
end program
13