--- rpl/lapack/lapack/dlag2s.f 2012/08/22 09:48:17 1.11
+++ rpl/lapack/lapack/dlag2s.f 2023/08/07 08:38:54 1.19
@@ -1,25 +1,25 @@
-*> \brief \b DLAG2S
+*> \brief \b DLAG2S converts a double precision matrix to a single precision matrix.
*
* =========== 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/
*
*> \htmlonly
-*> Download DLAG2S + dependencies
-*>
-*> [TGZ]
-*>
-*> [ZIP]
-*>
+*> Download DLAG2S + dependencies
+*>
+*> [TGZ]
+*>
+*> [ZIP]
+*>
*> [TXT]
-*> \endhtmlonly
+*> \endhtmlonly
*
* Definition:
* ===========
*
* SUBROUTINE DLAG2S( M, N, A, LDA, SA, LDSA, INFO )
-*
+*
* .. Scalar Arguments ..
* INTEGER INFO, LDA, LDSA, M, N
* ..
@@ -27,19 +27,19 @@
* REAL SA( LDSA, * )
* DOUBLE PRECISION A( LDA, * )
* ..
-*
+*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
-*> DLAG2S converts a DOUBLE PRECISION matrix, SA, to a SINGLE
-*> PRECISION matrix, A.
+*> DLAG2S converts a DOUBLE PRECISION matrix, A, to a SINGLE
+*> PRECISION matrix, SA.
*>
*> RMAX is the overflow for the SINGLE PRECISION arithmetic
*> DLAG2S checks that all the entries of A are between -RMAX and
-*> RMAX. If not the convertion is aborted and a flag is raised.
+*> RMAX. If not the conversion is aborted and a flag is raised.
*>
*> This is an auxiliary routine so there is no argument checking.
*> \endverbatim
@@ -96,22 +96,19 @@
* Authors:
* ========
*
-*> \author Univ. of Tennessee
-*> \author Univ. of California Berkeley
-*> \author Univ. of Colorado Denver
-*> \author NAG Ltd.
-*
-*> \date November 2011
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
*
*> \ingroup doubleOTHERauxiliary
*
* =====================================================================
SUBROUTINE DLAG2S( M, N, A, LDA, SA, LDSA, INFO )
*
-* -- LAPACK auxiliary routine (version 3.4.0) --
+* -- LAPACK auxiliary routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
-* November 2011
*
* .. Scalar Arguments ..
INTEGER INFO, LDA, LDSA, M, N
@@ -131,6 +128,9 @@
REAL SLAMCH
EXTERNAL SLAMCH
* ..
+* .. Intrinsic Functions ..
+ INTRINSIC REAL
+* ..
* .. Executable Statements ..
*
RMAX = SLAMCH( 'O' )
@@ -140,7 +140,7 @@
INFO = 1
GO TO 30
END IF
- SA( I, J ) = A( I, J )
+ SA( I, J ) = REAL( A( I, J ) )
10 CONTINUE
20 CONTINUE
INFO = 0