summaryrefslogtreecommitdiff
path: root/BLAS/SRC/srotmg.f
diff options
context:
space:
mode:
authorHans Johnson <hans-johnson@uiowa.edu>2016-07-09 11:16:07 -0500
committerHans Johnson <hans-johnson@uiowa.edu>2016-07-09 11:19:34 -0500
commit9dafba6d415309f957edde1ce011e3ae646f9cbd (patch)
tree2780c80119923ba687cccb702356f5fa7a5075ce /BLAS/SRC/srotmg.f
parent9c7f84bd600f53c59f89f16ad745e3be5cab2f07 (diff)
downloadlapack-9dafba6d415309f957edde1ce011e3ae646f9cbd.tar.gz
lapack-9dafba6d415309f957edde1ce011e3ae646f9cbd.tar.bz2
lapack-9dafba6d415309f957edde1ce011e3ae646f9cbd.zip
STYLE: Remove trailing whitespace in Fortran files
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier. =SCRIPT==================================================================== if which tempfile &>/dev/null; then TEMPMAKER=tempfile elif which mktemp &>/dev/null; then TEMPMAKER=mktemp else echo "Cannot find tempfile program." 2>&1 exit 1 fi MYTEMP=$($TEMPMAKER) trap 'rm -f $MYTEMP' SIGINT SIGTERM stripit() { echo "stripping $1" sed 's/[ \t]*$//' "$1" > $MYTEMP cp $MYTEMP "$1" } if [ $# -gt 0 ]; then while [ "$1" != "" ]; do stripit $1 shift done else while read -t 2; do stripit $REPLY done fi rm $MYTEMP =================================================
Diffstat (limited to 'BLAS/SRC/srotmg.f')
-rw-r--r--BLAS/SRC/srotmg.f34
1 files changed, 17 insertions, 17 deletions
diff --git a/BLAS/SRC/srotmg.f b/BLAS/SRC/srotmg.f
index 9a41e0a9..69d535ff 100644
--- a/BLAS/SRC/srotmg.f
+++ b/BLAS/SRC/srotmg.f
@@ -2,21 +2,21 @@
*
* =========== DOCUMENTATION ===========
*
-* Online html documentation available at
-* http://www.netlib.org/lapack/explore-html/
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SROTMG(SD1,SD2,SX1,SY1,SPARAM)
-*
+*
* .. Scalar Arguments ..
* REAL SD1,SD2,SX1,SY1
* ..
* .. Array Arguments ..
* REAL SPARAM(5)
* ..
-*
+*
*
*> \par Purpose:
* =============
@@ -78,10 +78,10 @@
* Authors:
* ========
*
-*> \author Univ. of Tennessee
-*> \author Univ. of California Berkeley
-*> \author Univ. of Colorado Denver
-*> \author NAG Ltd.
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
*
*> \date November 2011
*
@@ -135,7 +135,7 @@
SFLAG = -TWO
SPARAM(1) = SFLAG
RETURN
- END IF
+ END IF
* REGULAR-CASE..
SP1 = SD1*SX1
SQ2 = SP2*SY1
@@ -203,7 +203,7 @@
END IF
ENDDO
END IF
-
+
IF (SD2.NE.ZERO) THEN
DO WHILE ( (ABS(SD2).LE.RGAMSQ) .OR. (ABS(SD2).GE.GAMSQ) )
IF (SFLAG.EQ.ZERO) THEN
@@ -223,10 +223,10 @@
SD2 = SD2/GAM**2
SH21 = SH21*GAM
SH22 = SH22*GAM
- END IF
+ END IF
END DO
END IF
-
+
END IF
IF (SFLAG.LT.ZERO) THEN
@@ -236,7 +236,7 @@
SPARAM(5) = SH22
ELSE IF (SFLAG.EQ.ZERO) THEN
SPARAM(3) = SH21
- SPARAM(4) = SH12
+ SPARAM(4) = SH12
ELSE
SPARAM(2) = SH11
SPARAM(5) = SH22
@@ -245,7 +245,7 @@
SPARAM(1) = SFLAG
RETURN
END
-
-
-
-
+
+
+
+