Skip to content

Fix the wrong implementation of the new tests for xblat1.f #964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions BLAS/TESTING/cblat1.f
Original file line number Diff line number Diff line change
Expand Up @@ -994,13 +994,17 @@ REAL FUNCTION SXVALS(XX,K)
* .. Scalar Arguments ..
REAL XX
INTEGER K
* .. Parameters ..
REAL ZERO
PARAMETER (ZERO=0.0E+0)
* .. Local Scalars ..
REAL X, Y, YY, Z
REAL X, Y, Z
* .. Intrinsic Functions ..
INTRINSIC HUGE
* .. Executable Statements ..
X = ZERO
Y = HUGE(XX)
Z = YY
Z = Y*Y
IF (K.EQ.1) THEN
X = -Z
ELSE IF (K.EQ.2) THEN
Expand Down
8 changes: 6 additions & 2 deletions BLAS/TESTING/dblat1.f
Original file line number Diff line number Diff line change
Expand Up @@ -1326,13 +1326,17 @@ DOUBLE PRECISION FUNCTION DXVALS(XX,K)
* .. Scalar Arguments ..
DOUBLE PRECISION XX
INTEGER K
* .. Parameters ..
DOUBLE PRECISION ZERO
PARAMETER (ZERO=0.0D+0)
* .. Local Scalars ..
DOUBLE PRECISION X, Y, YY, Z
DOUBLE PRECISION X, Y, Z
* .. Intrinsic Functions ..
INTRINSIC HUGE
* .. Executable Statements ..
X = ZERO
Y = HUGE(XX)
Z = YY
Z = Y*Y
IF (K.EQ.1) THEN
X = -Z
ELSE IF (K.EQ.2) THEN
Expand Down
8 changes: 6 additions & 2 deletions BLAS/TESTING/sblat1.f
Original file line number Diff line number Diff line change
Expand Up @@ -1278,13 +1278,17 @@ REAL FUNCTION SXVALS(XX,K)
* .. Scalar Arguments ..
REAL XX
INTEGER K
* .. Parameters ..
REAL ZERO
PARAMETER (ZERO=0.0E+0)
* .. Local Scalars ..
REAL X, Y, YY, Z
REAL X, Y, Z
* .. Intrinsic Functions ..
INTRINSIC HUGE
* .. Executable Statements ..
X = ZERO
Y = HUGE(XX)
Z = YY
Z = Y*Y
IF (K.EQ.1) THEN
X = -Z
ELSE IF (K.EQ.2) THEN
Expand Down
8 changes: 6 additions & 2 deletions BLAS/TESTING/zblat1.f
Original file line number Diff line number Diff line change
Expand Up @@ -994,13 +994,17 @@ DOUBLE PRECISION FUNCTION DXVALS(XX,K)
* .. Scalar Arguments ..
DOUBLE PRECISION XX
INTEGER K
* .. Parameters ..
DOUBLE PRECISION ZERO
PARAMETER (ZERO=0.0D+0)
* .. Local Scalars ..
DOUBLE PRECISION X, Y, YY, Z
DOUBLE PRECISION X, Y, Z
* .. Intrinsic Functions ..
INTRINSIC HUGE
* .. Executable Statements ..
X = ZERO
Y = HUGE(XX)
Z = YY
Z = Y*Y
IF (K.EQ.1) THEN
X = -Z
ELSE IF (K.EQ.2) THEN
Expand Down