[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for power/exponentiation operations
Source position: fpexprpars.pp line 354
type TFPPowerOperation = class(TMathOperation) |
||
public |
||
procedure Check; override; |
|
Validate the power operation for correctness |
function AsString; override; |
|
Get string representation of power operation |
function NodeType; override; |
|
Get the result type for power operations |
procedure GetNodeValue(); override; |
|
Calculate the result of power operation |
end; |
|
Internally used class for power/exponentiation operations |
|
| | | ||
|
Internally used class for mathematical operations in expressions |
|
| | | ||
|
Internally used class for binary operations with left and right operands |
|
| | | ||
|
Class for representing nodes in expression trees |
|
| | | ||
The TFPPowerOperation class implements the power (exponentiation) operation for raising one numeric value to the power of another. It extends the mathematical operation framework to provide exponentiation functionality with proper type handling.
The power operation supports integer, float, and currency operands, automatically promoting the result type to ensure sufficient precision. The operation follows standard mathematical rules for exponentiation including handling of negative bases and fractional exponents.
This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.
|
Class for representing nodes in expression trees |