Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-256
FP_IEEE_ENABLES_SET_ Procedure
FP_IEEE_ENABLES_SET_ Procedure
Summary
The FP_IEEE_ENABLES_SET_ procedure sets the IEEE floating-point trap enable
mask. A set bit (value of one) enables a trap for the particular exception. A zero bit (the
normal value) disables that trap.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
NewMask input
INT(32)
The 32-bit traps flag.
Traps flag values of
Traps are:
Considerations
Note. This procedure is supported in the G06.06 RVU and all subsequent G-series RVUs. IEEE
floating-point is available on all S-series processors except S70000 servers with NSR-G processors.
#include <kfpieee.h>
void FP_IEEE_ENABLES_SET_( fp_ieee_enables new_mask );
?source $system.system.kfpieee
FP_IEEE_ENABLES_SET_ ( NewMask ); ! i
FP_IEEE_ENABLE_INVALID Trap on FP_IEEE_INVALID
exception.
FP_IEEE_ENABLE_DIVBYZERO Trap on FP_IEEE_DIVBYZERO
exception.
FP_IEEE_ENABLE_OVERFLOW Trap on FP_IEEE_OVERFLOW
exception.
FP_IEEE_ENABLE_UNDERFLOW Trap on FP_IEEE_UNDERFLOW
exception.
FP_IEEE_ENABLE_INEXACT Trap on FP_IEEE_INEXACT
exception.