Main Content

Numerical Checks

Checks on arithmetic operations

Numerical checks in Polyspace® Code Prover™ check arithmetic operations for run-time errors such as overflow or division by zero.

Polyspace Results

Division by zeroDivision by zero occurs
Invalid operation on floatsResult of floating-point operation is NaN for non-NaN operands
Invalid shift operationsShift operations are invalid
OverflowArithmetic operation causes overflow
Subnormal floatFloating-point operation has subnormal results

Topics