Datasheet

Floating-point Support
5-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
edata & FE_EX_OUTTYPE_MASK
gives the type of the operands to the function, as one
of the type values shown in Table 5-9.
edata & FE_EX_FN_MASK
gives the nature of the operation that caused the exception,
as one of the operation codes shown in Table 5-10.
Table 5-9 FE_EX_OUTTYPE_MASK operand type flags
Flag Operand type
FE_EX_OUTTYPE_FLOAT float
FE_EX_OUTTYPE_DOUBLE double
FE_EX_OUTTYPE_INT int
FE_EX_OUTTYPE_UINT unsigned int
FE_EX_OUTTYPE_LONGLONG long long
FE_EX_OUTTYPE_ULONGLONG unsigned long long
Table 5-10 FE_EX_FN_MASK operation type flags
Flag Operation type
FE_EX_FN_ADD
Addition.
FE_EX_FN_SUB
Subtraction.
FE_EX_FN_MUL
Multiplication.
FE_EX_FN_DIV
Division.
FE_EX_FN_REM
Remainder.
FE_EX_FN_RND
Round to integer.
FE_EX_FN_SQRT
Square root.
FE_EX_FN_CMP
Compare.
FE_EX_FN_CVT
Convert between formats.
FE_EX_FN_RAISE
The exception was raised explicitly, by
feraiseexcept
or
feupdateenv
. In this case almost nothing in the
edata
word is
valid.