HP-UX Floating-Point Guide

Chapter 2 67
Floating-Point Principles and the IEEE Standard for Binary Floating-Point Arithmetic
Recommended Functions
Recommended Functions
In an appendix, the IEEE standard lists several useful floating-point
functions that an implementor may support but is not required to
support. Table 2-12 describes how HP-UX systems support these
functions. The supported functions and macros are provided in the C
library only. Appendix A describes these functions briefly; see the online
man pages for more information.
Table 2-12 HP-UX Support for IEEE Recommended Functions
Functionality HP Implementation
Number
classification
The fpclassify and signbit macros; see
“Floating-Point Classification Macro” on
page 116
Copy sign The copysign function; float version
(copysignf) also supported
Finite inquiry The isfinite macro
Base exponent The logb function
Next
representable
inquiry
The nextafter function; float version
(nextafterf) also supported
NaN inquiry The isnan macro
Scale by power of
base
The scalb function
Unordered inquiry Not supported