public final class Minus extends AbstractUnaryArithmeticOperator
-
- minus operator.Constructor and Description |
---|
Minus() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateDouble(double n)
Returns the result of evaluating an arithmetic expression using the specified argument
|
protected long |
calculateLong(long n)
Returns the result of evaluating an arithmetic expression using the specified argument
|
calculate
calculate, calculate, isPure, preprocess, setKnowledgeBase
protected double calculateDouble(double n)
AbstractUnaryArithmeticOperator
calculateDouble
in class AbstractUnaryArithmeticOperator
protected long calculateLong(long n)
AbstractUnaryArithmeticOperator
calculateLong
in class AbstractUnaryArithmeticOperator
Copyright © 2024. All rights reserved.