Appendix E:
c.
d.
• The type field indicates the exact nature of the error. The following
exception types are listed in the draft standard. Type codes with
alphanumeric suffixes correspond to the exception number provided
in that document.
a.
b.
c.
d.
e.
f.
g.
3. The possible values are contained in fperr.h.
Version 1.0
CONVERT denotes an interpretation of a floating point
number was in progress. This occurs when a number is
being printed, when an ascii string is being interpreted
as a floating point number (using atof or _latof), or when a
floating point number is being assembled or disassembled
(ldexp, _lldexp, frexp, _lfrexp).
MATH indicates that the error originated in the math
library. The global _mathfunc_id is set to indicate the
routine causing the error.
_fperror is set to the argument that caused the problem
unless
the
type
PARTIAL_SLOSS.
calculated, but has probably suffered from a partial loss
of significance. This result is left in the _fperror structure
and will eventually become the result of the operation
unless altered.
INV ALID_OP_A. An operand was a NaN, and no other
exception was raised.
INV ALID_OP_B2.
(+∞ + -∞).
INV ALID_OP_C. Multiplication 0 × ∞.
Division. One of:
1.
INV ALID_OP_D1. (0/0).
2.
INV ALID_OP_D2. (∞ / ∞).
Taking a remainder. Two errors can occur during x REM y:
a.
INV ALID_OP_E1. y is zero.
b.
INV ALID_OP_E2. x is ∞.
INV ALID_OP_F2. The operand was ∞, which is illegal in the
indicated context.
INV ALID_OP_G. Conversion of a floating point number
when the number is ∞, NaN or too large to be
IRIS WORKSTATION GUIDE
In this case, the data value of
3
of
the
exception
In
this
case,
Magnitude
subtraction
_fperror.type)
a
result
has
of
infinities
95
is
been
Need help?
Do you have a question about the IRIS Workstation and is the answer not in the manual?
Questions and answers