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
|
calculate
calculate, calculate, isPure, preprocess, setKnowledgeBase
protected double calculateDouble(double n1, double n2)
AbstractBinaryArithmeticOperator
calculateDouble
in class AbstractBinaryArithmeticOperator
protected long calculateLong(long n1, long n2)
AbstractBinaryArithmeticOperator
calculateLong
in class AbstractBinaryArithmeticOperator
Copyright © 2024. All rights reserved.