HP-UX 11i Release Notes (December 2000)
Programming
Libraries
Chapter 13266
linker/chatr. This message should be regarded as a warning rather
than an error. chatr operation will be successful in spite of the warning.
Changes to libm
The fesetround() and fehold() functions in fenv.h have been
upgraded to the latest ISO C9x speciļ¬cation. Previously the functions
returned nonzero to indicate success and zero to indicate failure; now
they return zero to indicate success and nonzero to indicate failure.
Any code that depended on the return value will need to change. For
example:
if (!fesetround(FE_UPWARD))
{/* deal with failure to set rounding direction */}
could be changed to:
if(fesetrod(FE_UPWARD))
{/* deal with failure to set rounding direction */}
Previous code that depended on the return value are not compatible
beginning with the 11.0 May 1999 Extension Pack.