Class PowerExpression
Expression that raises a number to a power, representing the exponentiation operator (^).
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class PowerExpression : NumberBinaryOperatorExpression, IPrecalculatedExpressionThreeNode
Constructors
PowerExpression(RadExpression, RadExpression)
Initializes a new exponentiation expression with a base and exponent.
Declaration
public PowerExpression(RadExpression left, RadExpression right)
Parameters
|
RadExpression
left
The left. |
|
RadExpression
right
The right. |
Properties
OperatorInfo
Gets the operator metadata for the exponentiation operator.
Declaration
public override OperatorInfo OperatorInfo { get; }
Property Value
|
OperatorInfo
The operator info as OperatorInfo. |
Overrides
Methods
GetValueOverride(Double[])
Calculates the power result, handling special cases for zero and negative bases.
Declaration
protected override RadExpression GetValueOverride(double[] operands)
Parameters
|
System.Double[]
operands
The operands of type T. |
Returns
|
RadExpression
Value as RadExpression. |