z:=Exp(y*Ln(x)); //Det er nok dette, der ligger inde i Power(X,Y);
Hej Mik D.
Det der ligger i delphis funktion af Power i Math er:
function Power(const Base, Exponent: Extended): Extended;
begin
if Exponent = 0.0 then
Result := 1.0 { n**0 = 1 }
else if (Base = 0.0) and (Exponent > 0.0) then
Result := 0.0 { 0**n = 0, n > 0 }
else if (Frac(Exponent) = 0.0) and (Abs(Exponent) <= MaxInt) then
Result := IntPower(Base, Integer(Trunc(Exponent)))
else
Result := Exp(Exponent * Ln(Base))
end;
M.v.h. Johnny Rasmussen.