Version 1.0
IRIS WORKSTATION GUIDE 95
Appendix E:
c.
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
).
d.
MATH
indicates that the error originated in the math
library. The global
_mathfunc_id
is set to indicate the
routine causing the error.
3
In this case, the data value of
_fperror
is set to the argument that caused the problem
unless the type of the exception
_fperror.type
) is
PARTIAL_SLOSS
. In this case, a result has been
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.
• 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.
INVALID_OP_A
. An operand was a NaN, and no other
exception was raised.
b.
INVALID_OP_B2
. Magnitude subtraction of infinities
(+∞ + -∞).
c.
INVALID_OP_C
. Multiplication 0 × ∞.
d.
Division
. One of:
1.
INVALID_OP_D1
. (0/0).
2.
INVALID_OP_D2
. (∞ / ∞).
e.
Taking a remainder
. Two errors can occur during
x
REM
y
:
a.
INVALID_OP_E1
. y is zero.
b.
INVALID_OP_E2
. x is ∞.
f.
INVALID_OP_F2
. The operand was ∞, which is illegal in the
indicated context.
g.
INVALID_OP_G
. Conversion of a floating point number
when the number is ∞, NaN or too large to be
3. The possible values are contained in
fperr.h
.
Summary of Contents for IRIS Workstation
Page 1: ...IRIS Workstation Guide Version 1 0 Silicon Graphics Inc Mountain View California 94043 ...
Page 6: ...2 IRIS WORKSTATION GUIDE Version 1 0 Introduction ...
Page 24: ...20 IRIS WORKSTATION GUIDE Version 1 0 Hardware Installation ...
Page 30: ...26 IRIS WORKSTATION GUIDE Version 1 0 Operation ...
Page 48: ...44 IRIS WORKSTATION GUIDE Version 1 0 System Administration ...
Page 50: ...46 IRIS WORKSTATION GUIDE Version 1 0 Appendix A ...
Page 74: ...70 IRIS WORKSTATION GUIDE Version 1 0 Appendix B ...
Page 77: ...Version 1 0 IRIS WORKSTATION GUIDE 73 Appendix C e random gr error f wnrepaint ...
Page 78: ...74 IRIS WORKSTATION GUIDE Version 1 0 Appendix C ...
Page 92: ...88 IRIS WORKSTATION GUIDE Version 1 0 Appendix D ...
Page 102: ...98 IRIS WORKSTATION GUIDE Version 1 0 Appendix E ...
Page 103: ...Appendix F Manual Pages ...
Page 104: ......
Page 131: ...Version 1 0 126 IRIS WORKSTATION GUIDE Appendix F ...
Page 132: ......
Page 136: ...130 IRIS WORKSTATION GUIDE Version 1 0 Appendix H ...
Page 152: ...146 IRIS WORKSTATION GUIDE Version 1 0 Appendix J ...