Applicable Conversion |
Option |
Description |
|
Status Condition Option |
All
|
CVT$M_REPORT_ALL
|
Report all applicable status conditions as the default. The reporting
of recoverable status conditions is disabled by default when this
option is not used.
|
|
Rounding Options |
All
|
CVT$M_ROUND_TO_NEAREST
|
The default rounding option for conversions to IEEE data types. This
IEEE Std. 754 rounding mode results in the representable output value
nearest to the infinitely precise result. If the two nearest
representable values are equally near, the one whose least significant
bit is 0 is the result.
|
All
|
CVT$M_BIASED_ROUNDING
|
The default rounding option for conversions to non-IEEE data types.
Performs "traditional" style rounding. This mode results in the
representable output value nearest to the infinitely precise result. If
the two nearest representable values are equally near, the output value
is the closest to either positive infinity or negative infinity
depending on the sign of the input value.
|
All
|
CVT$M_ROUND_TO_ZERO
|
Round the output value toward zero (truncate).
|
All
|
CVT$M_ROUND_TO_POS
|
Round the output value toward positive infinity.
|
All
|
CVT$M_ROUND_TO_NEG
|
Round the output value toward negative infinity.
|
|
"FORCE" Options |
All
|
CVT$M_FORCE_ALL_SPECIAL_VALUES
|
Apply all applicable "FORCE" options for the current conversion.
|
IEEE
|
CVT$M_FORCE_DENORM_TO_ZERO
1
|
Force a denormalized IEEE output value to zero.
|
IEEE
|
CVT$M_FORCE_INF_TO_MAX_FLOAT
1
|
Force a positive IEEE infinite output value to +max_float and force a
negative IEEE infinite output value to --max_float.
|
IEEE or VAX
|
CVT$M_FORCE_INVALID_TO_ZERO
2
|
Force an invalid IEEE NaN (not a number) output value or a VAX ROP
(reserved operand) output value to zero.
|
|
CRAY Format Conversion Options |
CRAY
|
CVT$M_ALLOW_OVRFLW_RANGE_VALUES
|
Allow an input/output exponent value > 60000 (8).
|
CRAY
|
CVT$M_ALLOW_UDRFLW_RANGE_VALUES
|
Allow an input/output exponent value < 20000 (8).
|
IBM Format Conversion Option |
IBM
|
CVT$M_ALLOW_UNNORMALIZED_VALUES
|
Allow unnormalized input arguments. Allow an unnormalized output value
for a small value that would normalize to zero.
|
The maximum representable floating-point values (max_float) for the
IEEE_S_Floating, IEEE_T_Floating, IEEE_X_Floating,
Big_Endian_IEEE_S_Floating, Big_Endian_IEEE_T_Floating, and
Big_Endian_IEEE_X_Floating formats are:
Declarations for the options argument are in the $CVTDEF module found
in the system symbol libraries.