X 的 Y 次方


var
  x,y,z: Real;
begin
  x := 2;
  y := 3;

  { 使用 Math.Power }
  z := Math.Power(x, y);
  ShowMessage(FloatToStr(z)); //8

  { 不想 uses Math, 就用 System.Exp、System.Ln }
  z := Exp(Ln(x) * y);
  ShowMessage(FloatToStr(z)); //8
end;

原文地址:https://www.cnblogs.com/del/p/1627599.html