Class NumericNonOverflowingDiv
- java.lang.Object
-
- it.unive.lisa.symbolic.value.operator.binary.NumericOperation
-
- it.unive.lisa.symbolic.value.operator.binary.NumericNonOverflowingDiv
-
- All Implemented Interfaces:
Operator
,ArithmeticOperator
,BinaryOperator
,DivisionOperator
public class NumericNonOverflowingDiv extends NumericOperation implements DivisionOperator
Given two expressions that both evaluate to numeric values, aBinaryExpression
using this operator computes the arithmetic division of those values. This operation does never overflows/underflows.
First argument expression type:NumericType
Second argument expression type:NumericType
Computed expression type:NumericType
-
-
Field Summary
Fields Modifier and Type Field Description static NumericNonOverflowingDiv
INSTANCE
The singleton instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumericNonOverflowingDiv()
Builds the type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class it.unive.lisa.symbolic.value.operator.binary.NumericOperation
typeInference
-
-
-
-
Field Detail
-
INSTANCE
public static final NumericNonOverflowingDiv INSTANCE
The singleton instance of this class.
-
-
Constructor Detail
-
NumericNonOverflowingDiv
protected NumericNonOverflowingDiv()
Builds the type. This constructor is visible to allow subclassing: instances of this class should be unique, and the singleton can be retrieved through fieldINSTANCE
.
-
-