summaryrefslogtreecommitdiff
path: root/BLAS
diff options
context:
space:
mode:
authorjames <james@8a072113-8704-0410-8d35-dd094bca7971>2012-01-20 03:06:12 +0000
committerjames <james@8a072113-8704-0410-8d35-dd094bca7971>2012-01-20 03:06:12 +0000
commita880822a50ed17ebe82110f388b883f1bd8817f8 (patch)
tree5437accea711a966513a5e84e792aafc71c6ac05 /BLAS
parentda9a2d6d7a83a62f8d93ebf40490cb402087e57b (diff)
downloadlapack-a880822a50ed17ebe82110f388b883f1bd8817f8.tar.gz
lapack-a880822a50ed17ebe82110f388b883f1bd8817f8.tar.bz2
lapack-a880822a50ed17ebe82110f388b883f1bd8817f8.zip
replaced calculation of EPS with F90 call to EPSILON intrinsic
Diffstat (limited to 'BLAS')
-rw-r--r--BLAS/TESTING/cblat2.f9
-rw-r--r--BLAS/TESTING/cblat3.f9
-rw-r--r--BLAS/TESTING/dblat2.f9
-rw-r--r--BLAS/TESTING/dblat3.f9
-rw-r--r--BLAS/TESTING/sblat2.f9
-rw-r--r--BLAS/TESTING/sblat3.f9
-rw-r--r--BLAS/TESTING/zblat2.f9
-rw-r--r--BLAS/TESTING/zblat3.f9
8 files changed, 8 insertions, 64 deletions
diff --git a/BLAS/TESTING/cblat2.f b/BLAS/TESTING/cblat2.f
index 53bd6c57..45c9729d 100644
--- a/BLAS/TESTING/cblat2.f
+++ b/BLAS/TESTING/cblat2.f
@@ -286,14 +286,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = RONE
- 90 CONTINUE
- IF( SDIFF( RONE + EPS, RONE ).EQ.RZERO )
- $ GO TO 100
- EPS = RHALF*EPS
- GO TO 90
- 100 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(RZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of CMVCH using exact data.
diff --git a/BLAS/TESTING/cblat3.f b/BLAS/TESTING/cblat3.f
index 285023fe..e4823cc9 100644
--- a/BLAS/TESTING/cblat3.f
+++ b/BLAS/TESTING/cblat3.f
@@ -235,14 +235,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = RONE
- 70 CONTINUE
- IF( SDIFF( RONE + EPS, RONE ).EQ.RZERO )
- $ GO TO 80
- EPS = RHALF*EPS
- GO TO 70
- 80 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(RZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of CMMCH using exact data.
diff --git a/BLAS/TESTING/dblat2.f b/BLAS/TESTING/dblat2.f
index 14138c90..1e851e85 100644
--- a/BLAS/TESTING/dblat2.f
+++ b/BLAS/TESTING/dblat2.f
@@ -281,14 +281,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = ONE
- 90 CONTINUE
- IF( DDIFF( ONE + EPS, ONE ).EQ.ZERO )
- $ GO TO 100
- EPS = HALF*EPS
- GO TO 90
- 100 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(ZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of DMVCH using exact data.
diff --git a/BLAS/TESTING/dblat3.f b/BLAS/TESTING/dblat3.f
index a655cb30..3d957bb6 100644
--- a/BLAS/TESTING/dblat3.f
+++ b/BLAS/TESTING/dblat3.f
@@ -228,14 +228,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = ONE
- 70 CONTINUE
- IF( DDIFF( ONE + EPS, ONE ).EQ.ZERO )
- $ GO TO 80
- EPS = HALF*EPS
- GO TO 70
- 80 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(ZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of DMMCH using exact data.
diff --git a/BLAS/TESTING/sblat2.f b/BLAS/TESTING/sblat2.f
index 919853c2..efd53c7d 100644
--- a/BLAS/TESTING/sblat2.f
+++ b/BLAS/TESTING/sblat2.f
@@ -281,14 +281,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = ONE
- 90 CONTINUE
- IF( SDIFF( ONE + EPS, ONE ).EQ.ZERO )
- $ GO TO 100
- EPS = HALF*EPS
- GO TO 90
- 100 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(ZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of SMVCH using exact data.
diff --git a/BLAS/TESTING/sblat3.f b/BLAS/TESTING/sblat3.f
index 8aedf694..e8539c5c 100644
--- a/BLAS/TESTING/sblat3.f
+++ b/BLAS/TESTING/sblat3.f
@@ -228,14 +228,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = ONE
- 70 CONTINUE
- IF( SDIFF( ONE + EPS, ONE ).EQ.ZERO )
- $ GO TO 80
- EPS = HALF*EPS
- GO TO 70
- 80 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(ZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of SMMCH using exact data.
diff --git a/BLAS/TESTING/zblat2.f b/BLAS/TESTING/zblat2.f
index ec651109..67a7e800 100644
--- a/BLAS/TESTING/zblat2.f
+++ b/BLAS/TESTING/zblat2.f
@@ -287,14 +287,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = RONE
- 90 CONTINUE
- IF( DDIFF( RONE + EPS, RONE ).EQ.RZERO )
- $ GO TO 100
- EPS = RHALF*EPS
- GO TO 90
- 100 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(RZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of ZMVCH using exact data.
diff --git a/BLAS/TESTING/zblat3.f b/BLAS/TESTING/zblat3.f
index d51faa8f..713c4620 100644
--- a/BLAS/TESTING/zblat3.f
+++ b/BLAS/TESTING/zblat3.f
@@ -237,14 +237,7 @@
*
* Compute EPS (the machine precision).
*
- EPS = RONE
- 70 CONTINUE
- IF( DDIFF( RONE + EPS, RONE ).EQ.RZERO )
- $ GO TO 80
- EPS = RHALF*EPS
- GO TO 70
- 80 CONTINUE
- EPS = EPS + EPS
+ EPS = EPSILON(RZERO)
WRITE( NOUT, FMT = 9998 )EPS
*
* Check the reliability of ZMMCH using exact data.