public final class Power extends AbstractBinaryArithmeticOperator
** - calculates the result of the first argument raised to the power of the second argument.| Constructor and Description |
|---|
Power() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
calculateDouble(double n1,
double n2)
Returns the result of evaluating an arithmetic expression using the two arguments
|
protected long |
calculateLong(long n1,
long n2)
Returns the result of evaluating an arithmetic expression using the two arguments
|
calculatecalculate, calculate, isPure, preprocess, setKnowledgeBaseprotected double calculateDouble(double n1,
double n2)
AbstractBinaryArithmeticOperatorcalculateDouble in class AbstractBinaryArithmeticOperatorprotected long calculateLong(long n1,
long n2)
AbstractBinaryArithmeticOperatorcalculateLong in class AbstractBinaryArithmeticOperatorCopyright © 2024. All rights reserved.