Uses of Interface
org.projog.core.math.PreprocessableArithmeticOperator
-
Packages that use PreprocessableArithmeticOperator Package Description org.projog.core.math org.projog.core.math.builtin Provides arithmetic operators. -
-
Uses of PreprocessableArithmeticOperator in org.projog.core.math
Classes in org.projog.core.math that implement PreprocessableArithmeticOperator Modifier and Type Class Description classAbstractArithmeticOperatorclassAbstractBinaryArithmeticOperatorA template forArithmeticOperators that accept two arguments.classAbstractBinaryIntegerArithmeticOperatorA template forArithmeticOperators that accept two arguments of typeTermType.INTEGER.classAbstractUnaryArithmeticOperatorA template forArithmeticOperators that accept exactly one argument. -
Uses of PreprocessableArithmeticOperator in org.projog.core.math.builtin
Classes in org.projog.core.math.builtin that implement PreprocessableArithmeticOperator Modifier and Type Class Description classAbsabs- returns the absolute value of a numeric argument.classAdd+- performs addition.classBitwiseAnd/\- performs bitwise addition.classBitwiseOr\/- bitwise 'or'.classBitwiseXorxor- bitwise 'exclusive or'.classDivide/- performs division.classIntegerDivide//- performs integer division.classMaxmax- finds the maximum of two numbers.classMinmin- finds the minimum of two numbers.classMinus-- minus operator.classModulomod- finds the remainder of division of one number by another.classMultiply*- performs multiplication.classPower**- calculates the result of the first argument raised to the power of the second argument.classRandomrandom(X)Evaluate to a random integer i for which 0 =< i < X.classRemainderrem- finds the remainder of division of one number by another.classRoundinteger(X)- round X to the nearest integer value.classShiftLeft<<- left shift bits.classShiftRight>>- right shift bits.classSubtract-- performs subtraction.
-