Get the result type for power operations
Source position: fpexprpars.pp line 358
public function TFPPowerOperation.NodeType: TResultType; override; |
Returns the result type of the power
The NodeType method determines the data type that will be produced by the power operation. Power operations typically promote the result to a floating-point type to handle fractional results and maintain mathematical precision.
The result type is usually float regardless of the input operand types, since exponentiation often produces non-integer results even when both operands are integers.