HP-UX 11i Version 2 Release Notes (October 2003)

Libraries and Programming
HP Message Passing Interface (MPI)
Chapter 9
220
Compatibility
The names of the new functions will expand the HP-UX namespace:
sincos() sincosf() sincosl() (math.h)
cis() cisf() cisl() (complex.h)
and additionally with the -fpwidetypes option:
sincosw() sincosq() (math.h)
cisw() cisq() (complex.h)
Customers who have used these names for other purposes may need to change their
code.
Performance
Power functions will be substantially faster where calls are compiled with
+Ofltacc=relaxed, more so where compiled with +O3 (which enables math function
inlining).
Using sincos() or cis() instead of separate sin and cos calls will not generally result in
a significant speedup on HP-UX (which recognizes and optimizes separate calls with the
same input). However, it will result in a significant speedup on some other platforms,
and the common interface helps with code portability.
Documentation
Manpages describe the new sincos() and cis() functions and the changes to the
fenv.h interface.
The power function speedup, new sincos() and cis() functions, and fenv.h interface
changes are discussed in the math library white paper, “The Libm Library and
Floating-Point Arithmetic in HP-UX for Itanium-Based Systems,” available at
http://h21007.www2.hp.com/dspp/files/unprotected/Itanium/FP_White_Paper_
v3.pdf.
Obsolescence
Not applicable.
HP Message Passing Interface (MPI)
HP MPI Version 1.8.3 is a high-performance implementation of the Message Passing
Interface standard. HP MPI provides an application programming interface and
software libraries to support parallel, message-passing applications that are efficient,
portable, and flexible.