public final class Subtract extends AbstractBinaryArithmeticOperator
-
- performs subtraction.Constructor and Description |
---|
Subtract() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateDouble(double n1,
double n2)
Returns the difference of the two arguments
|
protected long |
calculateLong(long n1,
long n2)
Returns the difference of the two arguments
|
calculate
calculate, calculate, isPure, preprocess, setKnowledgeBase
protected double calculateDouble(double n1, double n2)
calculateDouble
in class AbstractBinaryArithmeticOperator
protected long calculateLong(long n1, long n2)
calculateLong
in class AbstractBinaryArithmeticOperator
Copyright © 2024. All rights reserved.