Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-254
FP_IEEE_ENABLES_GET_ Procedure
FP_IEEE_ENABLES_GET_ Procedure
Summary
The FP_IEEE_ENABLES_GET_ procedure reads the IEEE floating-point trap enable
mask. A set bit (value of one) means that the trap for that particular exception is
enabled. A zero bit means that it is disabled.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Traps input
INT(32)
The 32-bit trap enable mask.
Mask bit values of
Traps are:
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>
fp_ieee_enables FP_IEEE_ENABLES_GET_(void);
?source $system.system.kfpieee
Traps := FP_IEEE_ENABLES_GET_ ;
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.