Guardian Procedure Calls Reference Manual

FP_IEEE_DENORM_SET_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Considerations
Summary
The FP_IEEE_DENORM_SET_ procedure sets the IEEE floating-point denormalization mode.
NOTE: This procedure is supported in all J-series and H-series RVUs and in G-series RVUs
beginning with G06.06. IEEE floating-point is available on all NB-Series and NS-Series systems,
and on all S-Series systems, except S70000 servers with NSR-G processors.
Syntax for C Programmers
#include <kfpieee.h>
void FP_IEEE_DENORM_SET_ ( fp_ieee_denorm newmode );
Syntax for TAL Programmers
?SOURCE $SYSTEM.SYSTEM.KFPIEEE
FP_IEEE_DENORM_SET_ ( newmode );
Parameter
newmode
input
INT(32)
The denormalization control mode. newmode can have these values:
Denormalization in IEEE floating point allows for greater precision
in the representation of numbers that are very close to zero. This
is the standard mode
FP_IEEE_DENORMALIZATION_ENABLE
The nonstandard mode. When denormalization is disabled,
fractions that are too small to be represented in standard IEEE
form are represented as zero, causing a loss of precision.
FP_IEEE_DENORMALIZATION_DISABLE
Considerations
Operations with denormalization disabled can cause problems by causing a gap around zero in
the distribution of values that can be represented. With denormalization disabled, the results will
not comply with the IEEE standard and might not match results on any other system.
638 Guardian Procedure Calls (F)