Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Floating-Point Guide: HP 9000 Computers > Chapter 2 Floating-Point Principles and the IEEE Standard for Binary Floating-Point Arithmetic

Recommended Functions

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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 “HP-UX Support for IEEE Recommended Functions” describes how HP-UX systems support these functions. The supported functions and macros are provided in the C library only. Appendix A “The C Math Library” 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”

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

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.