HP-UX Floating-Point Guide

216 Appendix B
The Fortran Math Library
The mathematical functions that libcl supports are as follows:
The Fortran intrinsic functions, which are described in the HP
Fortran 90 Programmer’s Reference and the HP FORTRAN/9000
Programmer’s Reference. Fortran intrinsic functions have
single-precision, double-precision, and quad-precision versions. (See
“Quad-Precision Computations” on page 191 for information about
the performance impact of quad-precision computations.)
The Pascal predefined math functions, which are described in the HP
Pascal/HP-UX Reference Manual.
If you compile and link with the f90, f77, or pc command, a version of
libcl is linked in automatically. You may specify a nondefault location
for libcl by linking in the library explicitly. See “Locations of the Math
Libraries at Release 11.0” on page 29 for a list of the different versions of
libcl and their directory locations.
You can call routines from the BLAS library, libblas, by specifying
-lblas on the f90 or f77 command line. See “The BLAS Library
(libblas)” on page 121 and the HP Fortran 90 Programmer’s Reference or
HP FORTRAN/9000 Programmer’s Reference for information about this
library.
NOTE The BLAS library is provided with the HP Fortran 90 and HP
FORTRAN/9000 products only.
For more information about math libraries, including Fortran math
library error handling, see Chapter 4.