LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

◆ ilaprec()

integer function ilaprec ( character prec)

ILAPREC

Download ILAPREC + dependencies [TGZ] [ZIP] [TXT]

Purpose:
!> !> This subroutine translated from a character string specifying an !> intermediate precision to the relevant BLAST-specified integer !> constant. !> !> ILAPREC returns an INTEGER. If ILAPREC < 0, then the input is not a !> character indicating a supported intermediate precision. Otherwise !> ILAPREC returns the constant value corresponding to PREC. !>
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.

Definition at line 55 of file ilaprec.f.

56*
57* -- LAPACK computational routine --
58* -- LAPACK is a software package provided by Univ. of Tennessee, --
59* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
60*
61* .. Scalar Arguments ..
62 CHARACTER PREC
63* ..
64*
65* =====================================================================
66*
67* .. Parameters ..
68 INTEGER BLAS_PREC_SINGLE, BLAS_PREC_DOUBLE, BLAS_PREC_INDIGENOUS,
69 $ BLAS_PREC_EXTRA
70 parameter( blas_prec_single = 211, blas_prec_double = 212,
71 $ blas_prec_indigenous = 213, blas_prec_extra = 214 )
72* ..
73* .. External Functions ..
74 LOGICAL LSAME
75 EXTERNAL lsame
76* ..
77* .. Executable Statements ..
78 IF( lsame( prec, 'S' ) ) THEN
79 ilaprec = blas_prec_single
80 ELSE IF( lsame( prec, 'D' ) ) THEN
81 ilaprec = blas_prec_double
82 ELSE IF( lsame( prec, 'I' ) ) THEN
83 ilaprec = blas_prec_indigenous
84 ELSE IF( lsame( prec, 'X' ) .OR. lsame( prec, 'E' ) ) THEN
85 ilaprec = blas_prec_extra
86 ELSE
87 ilaprec = -1
88 END IF
89 RETURN
90*
91* End of ILAPREC
92*
integer function ilaprec(prec)
ILAPREC
Definition ilaprec.f:56
logical function lsame(ca, cb)
LSAME
Definition lsame.f:48
Here is the call graph for this function:
Here is the caller graph for this function: