Introduction
The following table shows the common error codes and error values created for floating point errors. These error information are displayed in the Diagnostic Viewer and the error code values are written in %SW125.
Common Floating Point Errors
Table of common floating point errors
Error codes |
Error value in Dec |
Error value in Hex |
Error description |
---|---|---|---|
FP_ERROR |
-30150 |
16#8A3A |
Base value (not apearing as an error value) |
E_FP_STATUS_FAILED_IE |
-30151 |
16#8A39 |
Illegal floating point operation |
E_FP_STATUS_FAILED_DE |
-30152 |
16#8A38 |
Operand is denormalized - not a valid REAL number |
E_FP_STATUS_FAILED_ZE |
-30154 |
16#8A36 |
Illegal divide by zero |
E_FP_STATUS_FAILED_ZE_IE |
-30155 |
16#8A35 |
Illegal floating point operation / Divide by zero |
E_FP_STATUS_FAILED_OE |
-30158 |
16#8A32 |
Floating point overflow |
E_FP_STATUS_FAILED_OE_IE |
-30159 |
16#8A31 |
Illegal floating point operation / Overflow |
E_FP_STATUS_FAILED_OE_ZE |
-30162 |
16#8A2E |
Floating point overflow / Divide by zero |
E_FP_STATUS_FAILED_OE_ZE_IE |
-30163 |
16#8A2D |
Illegal floating point operation / Overflow / Divide by zero |
E_FP_NOT_COMPARABLE |
-30166 |
16#8A2A |
Internal error |