Author Topic: Exponents  (Read 648 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Exponents
« on: July 30, 2007, 11:48:22 am »
I tried
Code: [Select]
function PowerOf(Base, Exponent: single): single;
begin
  Result := Exp(Exponent * Ln(Base));
end;
But neither Exp (whatever that is) nor Ln (Natural Logarithm) functions are know. (Found this off of Google)
Can somebody help me get / find a working exponents function that works with more than just integer exponents?