96
IRIS WORKSTATION GUIDE
h.
i.
j.
k.
l.
The following type codes are for use specifically by the math library:
1.
2.
3.
4.
A code is placed in the global int _mathfunc_id to indicate the math
function that raised the exception. This code is valid whenever
_fperror.type is MATH. The possible codes are SIN, COS, TAN,
LOG, EXP, SQRT, POW, ASIN, ACOS, SINH, COSH, ATAN2, ATAN,
UP_I, GAMMA, HYPOT, J0, J1, Y0, Y1, YN, LOG10, TANH, and JN.
Examination of this code together with the precision found in
_fperror completely identify the function raising the exception.
E.4 Compiler Enhancements
The IRIS Workstation contains a hardware floating point option. This option
currently uses a multibus board from Sky Computer. The C compiler on the
IRIS Workstation has been quite heavily optimized for floating point operations
in both hardware and software floating point mode.
4. Hardware or software floating point mode is determined at compile time by use of the -Zf
switch to cc.
represented.
INV ALID_OP_H. A comparison was performed when
one of the operands was NaN.
OVERFL. The operation did or will overflow.
DIVZERO. Division by zero has occurred (not 0/0).
UNDERFLOW_A. After the operation was performed,
the result could not be represented in the target format
except by denormalizing.
CONVERT_INFINITY. An attempt was made to print ∞, or to
disassemble it using frexp().
UNDERFL. The operands provided for the operation will
cause underflow.
DOMAIN_ERROR. The operands provided were illegal. (e.g.,
sqrt(-1))
CANT_REDUCE_RANGE. In a call to a transcendental
function,
the
significance upon range reduction.
PARTIAL_SLOSS. The algorithm used for the function does
not behave nicely in the range of the argument, although the
result will not overflow or underflow.
argument
was
4
Appendix E:
so
large
as
Version 1.0
to
lose
Need help?
Do you have a question about the IRIS Workstation and is the answer not in the manual?
Questions and answers