HP-UX Floating-Point Guide
194 Appendix A
The C Math Library
In addition, the library supports the following value-added functions
specific to HP-UX:
• float versions of many mathematical functions
• Degree-valued trigonometric functions
• A group of functions and macros recommended by the IEEE standard
(see Table 2-12 on page 67), including fpclassify, copysign, and
isfinite
• An additional group of floating-point functions and macros that the
ISO/ANSI C committee has included in the C9X draft standard
• The fenv(5) suite, a collection of functions (included in the C9X draft
standard) that allow an application to manipulate the floating-point
status register (see Chapter 5 for more information)
If your program calls libm math functions, you must link in the
appropriate library explicitly. See “Locations of the Math Libraries at
Release 11.0” on page 29 for a list of the different versions of libm and
their directory locations.
For more information about math libraries, including C math library
error handling, see “HP-UX Math Libraries on HP 9000 Systems” on
page 97. For details about these functions, see the online man pages.