OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [intrinsic_dprod.f90] - Blame information for rev 707

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 695 jeremybenn
! 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 = 2e30
9
   s = 4e30
10
   dp = dprod (r, s)
11
   if ((dp .gt. 8.001d60) .or. (dp .lt. 7.999d60)) call abort
12
end program
13
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.