Float Errors

When an Float function error occurs, SB 10 Float Error turns on. This SB is reset by the user.

The error code is stored in SI 440 General Error. The codes are shown below.

Value

Message

Result

3

Integer Overflow

7FFF or 8000 (integer result)FFFF or 0000(unsigned integer result)

4

Floating Overflow

+INF or -INF (float result)

5

Floating Underflow

0.0 (float result)

7

Divide by Zero

+INF or -INF or NaN (float result)

9

Undefined Float

NAN (float result)

10

Conversion Error

0 (integer result)

11

Floating point Stack Overflow

Floating point stack underflow

12

Floating point Stack Underflow

Floating point stack overflow

INF Infinite which is the largest absolute floating point number.

NAN Not a Number, special notation for undefined floating point number.