HP-UX Floating-Point Guide

16
Summary of Technical
Changes
This edition of the HP-UX Floating-Point Guide describes the following
changes to the HP-UX math libraries at Release 11.00.
The math libraries provided in the /usr/lib directory support PA-RISC
1.1 (PA1.1) and PA-RISC 2.0 (PA2.0) systems. The libraries in /usr/lib
support PA2.0 systems in 32-bit mode; the libraries in
/usr/lib/pa20_64 support PA2.0 systems in 64-bit mode.
A version of the BLAS library tuned for optimal 32-bit performance on
PA2.0 systems is provided in the directory
/opt/fortran90/lib/pa2.0/libblas.a (for HP Fortran 90). The
PA1.1 version is in /opt/fortran90/lib/libblas.a.
At Release 11.00, the C math library implements several new functions
and macros that the ISO/ANSI C committee has included in the C9X
draft standard (the proposed new ISO/ANSI C standard):
Exponential functions: exp2, scalbn
Maximum, minimum, and positive difference functions: fdim, fmax,
fmin
Comparison macros: isgreater, isgreaterequal, isless,
islessequal, islessgreater, isunordered
Nearest integer functions: round, trunc, lrint, llrint, lround,
llround, nearbyint
Manipulation functions: nan, nextafterf
Remainder function: remquo
The following C library functions have been unsupported since Release
10.30:
cabs (hypot has equivalent functionality)
drem (remainder has equivalent functionality)
finite (replaced by the isfinite macro)
The fpgetround(3M) suite of functions (replaced by the fenv(5) suite)
matherr
Related
Documentation
The IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE
Std 754-1985) is the essential reference for developers of floating-point
applications. To obtain a copy, write to the IEEE Standards Board, 345
East 47th Street, New York, NY 10017, USA.