| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Cube root |
On Monday, 95/12/11, George White wrote to David Noon about "Cube root" as follows: GW> DN>took about 40% less time than using pow(). I think that pow() is GW> DN>implemented in the BCAF 3.1 run-time as exp(log()) without any further GW> DN>thought on Borland's part. GW> GW> I've just looked, its coded in assembler in the run time library GW> source. Hi George, I just took a look at the source too. It is in assembler, but it uses 2**(y*LOG2(x)) in order to evaluate x**y; almost as inefficient as EXP(y*LN(x)). Regards Dave * KWQ/2 1.2i * Intel: If you want the right answer use a slower machine. --- Maximus/2 3.00* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4) SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809 @PATH: 440/4 141/209 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.