3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
9 *> Download ILAPREC + dependencies
10 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilaprec.f">
12 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/ilaprec.f">
14 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/ilaprec.f">
21 * INTEGER FUNCTION ILAPREC( PREC )
23 * .. Scalar Arguments ..
33 *> This subroutine translated from a character string specifying an
34 *> intermediate precision to the relevant BLAST-specified integer
37 *> ILAPREC returns an INTEGER. If ILAPREC < 0, then the input is not a
38 *> character indicating a supported intermediate precision. Otherwise
39 *> ILAPREC returns the constant value corresponding to PREC.
49 *> \author Univ. of Tennessee
50 *> \author Univ. of California Berkeley
51 *> \author Univ. of Colorado Denver
54 *> \date November 2011
56 *> \ingroup auxOTHERcomputational
58 * =====================================================================
59 INTEGER FUNCTION ILAPREC( PREC )
61 * -- LAPACK computational routine (version 3.4.0) --
62 * -- LAPACK is a software package provided by Univ. of Tennessee, --
63 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
66 * .. Scalar Arguments ..
70 * =====================================================================
73 INTEGER BLAS_PREC_SINGLE, BLAS_PREC_DOUBLE, BLAS_PREC_INDIGENOUS,
75 PARAMETER ( BLAS_PREC_SINGLE = 211, BLAS_PREC_DOUBLE = 212,
76 $ BLAS_PREC_INDIGENOUS = 213, BLAS_PREC_EXTRA = 214 )
78 * .. External Functions ..
82 * .. Executable Statements ..
83 IF( LSAME( PREC, 'S' ) ) THEN
84 ILAPREC = BLAS_PREC_SINGLE
85 ELSE IF( LSAME( PREC, 'D' ) ) THEN
86 ILAPREC = BLAS_PREC_DOUBLE
87 ELSE IF( LSAME( PREC, 'I' ) ) THEN
88 ILAPREC = BLAS_PREC_INDIGENOUS
89 ELSE IF( LSAME( PREC, 'X' ) .OR. LSAME( PREC, 'E' ) ) THEN
90 ILAPREC = BLAS_PREC_EXTRA