Guardian Procedure Calls Reference Manual
• Trap handling is an optional part of the IEEE floating-point standard. See the
FP_IEEE_EXCEPTIONS_GET_ Procedure (page 646) and the FP_IEEE_EXCEPTIONS_SET_
Procedure (page 648) for an alternative to using traps.
• The compiler optimizer might reorder operations within a local routine and cause different
results from the FP_ IEEE status procedures than intended. To work around this, place arithmetic
operations in a separate function. The compiler cannot optimize across function boundaries,
so the FP_IEEE status procedure will be called in the intended order.
640 Guardian Procedure Calls (F)