DESCRIPTION

There are five floating-point exceptions:

divide-by-zero,

overflow,

underflow,

imprecise (inexact) result, and

invalid operation.

When a floating-point exception occurs, the corresponding sticky bit is set (1), and if the mask bit is enabled (1), the trap takes place. These routines let the user change the behavior on occurrence
of any of these exceptions, as well as change the rounding mode for floating-point operations.

The mask argument is formed by the logical OR operation of the following floating-point exception masks: