public final class Modulo extends AbstractBinaryIntegerArithmeticOperator
mod
- finds the remainder of division of one number by another.
The result has the same sign as the divisor (i.e. second argument).
Constructor and Description |
---|
Modulo() |
Modifier and Type | Method and Description |
---|---|
protected long |
calculateLong(long numerator,
long divider)
Returns the result of evaluating an arithmetic expression using the two arguments
|
calculate
calculate, calculate, isPure, preprocess, setKnowledgeBase
protected long calculateLong(long numerator, long divider)
AbstractBinaryIntegerArithmeticOperator
calculateLong
in class AbstractBinaryIntegerArithmeticOperator
Copyright © 2024. All rights reserved.