ILAPREC - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
inline integer ilaprec(char *prec)#

ILAPREC translated from a character string specifying an intermediate

precision to the relevant BLAST-specified integer constant.

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.
Parameters:

prec[in]

PREC is character pointer.

= S means single precision

= D means double precision

= I means indigenous precision

= X or E means extra precision.

Other values returns invalid result.

Returns:

INTEGER Return value of the function.