F_SFPINFO/F_DFPINFO

Environmental inquiry

Name

F_SFPINFO/F_DFPINFO

 

 

Environmental inquiry

 

Purpose

F_xFPINFO queries for machine-specific floating point characteristics. For

 

BLAS Standard routines, error bounds and limitations due to overflow and

 

underflow depend on details of how floating point numbers are represented.

 

These details are available by calling F_xFPINFO.

 

Usage

VECLIB:

 

 

INTEGER*4

CMACH

 

REAL*4

FUNCTION F_SFPINFO (CMACH)

 

INTEGER*4

CMACH

 

REAL*4

FUNCTION F_DFPINFO (CMACH)

 

VECLIB8:

 

 

INTEGER*8

CMACH

 

REAL*4

FUNCTION F_SFPINFO (CMACH)

 

INTEGER*8

CMACH

 

REAL*4

FUNCTION F_DFPINFO (CMACH)

Input

CMACH

 

A named integer constant. The names for the CMACH argument are given in the appropriate language’s include file.

Table 2-1describes the CMACH floating point parameters, the corresponding BLAS Standard named constant (from the Fortran 77 include file), and the values returned by F_xFPINFO.

172HP MLIB User’s Guide