TIP: Click on subject to list as thread! ANSI
echo: delphi
to: RYAN POTTS
from: TOMMY USHER
date: 1996-05-17 11:01:00
subject: Powers and Logs

RP>Also pascal doesn't have a Log base 10 function either.  Here are a
couple RP>simple functions that I have written.
RP>function log(number : real):real;
RP>begin
RP>  log:=ln(number) / ln(10);
RP>end;
RP>function power( Man : Real; Pwr : Real ) : Real;
RP>begin
RP>  Power := Exp( Ln( Man ) * Pwr );
RP>end;
RP>Use them in good health.
Both of these are available in Delphi 2.0.
---
 * QMPro 1.52 * "The universe is NOT so badly designed!" - Picard to Q
--- WILDMAIL!/WC v4.12 
---------------
* Origin: GC-BBS! (1:226/810.0)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.