Oracle® Solaris Studio 12.4: Numerical Computation Guide

Exit Print View

Updated: January 2015
 
 

3.5 C99 Floating-Point Environment Functions

This section describes the <fenv.h> floating-point environment functions in C99. In the Oracle Solaris 10 OS, these functions are available in libm. They provide many of the same capabilities as the ieee_flags function, but they use a more natural C interface, and because they are defined by C99, they are more portable.


Note -  For consistent behavior, do not use both C99 floating-point environment functions and exception handling extensions in libm and the ieee_flags and ieee_handler functions in libsunmath in the same program.