Was sagt deine Delphi-Hilfe zu
Power und
Math?
Im Notfall: Welches davon brauchst'e denn?
Delphi-Quellcode:
function IntPower(const Base: Single; const Exponent: Integer): Single;
function IntPower(const Base: Double; const Exponent: Integer): Double;
function IntPower(const Base: Extended; const Exponent: Integer): Extended;
function Power(const Base, Exponent: Extended): Extended;
function Power(const Base, Exponent: Double): Double;
function Power(const Base, Exponent: Single): Single;