INVALIDOP condition

Computational condition that evaluates IEEE floating-point expressions.

Enabled/Disabled status

Always enabled.

Result

Causes the invalid operation to be undefined.

Raised

When any of the following are detected during the evaluation of IEEE floating-point expressions:
  • Subtraction of two infinities
  • Multiplication of infinity by 0
  • Division of two infinities
  • Division of zero by zero
  • Invalid floating-point data

Restriction

  • Compiling with the -dfp option to divide fixed decimals with large precision might cause some ZERODIVIDE exceptions to be reported as INVALIDOP.

Other Information

Condition code
290
Implicit action
Raises the ERROR condition.
Normal return
Prints a message and raises the ERROR condition.