Sign in Join
FPDoc Onlineexperiment

TFPPowerOperation.GetNodeValue procedure

Member of TFPPowerOperationpublicIn unit fpExprPars

Calculate the result of power operation

Declaration

pascal
procedure GetNodeValue(var Result: TFPExpressionResult); override

Arguments

Result

Returns the result of the power

Description

The GetNodeValue method evaluates the power operation by raising the left operand to the power of the right operand and returns the result. It handles both integer and floating-point base values with numeric exponents.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.