P is for Practical | |
PerlMonks |
Re^4: Exponential Function Programmingby ikegami (Patriarch) |
on Nov 22, 2007 at 19:38 UTC ( [id://652439]=note: print w/replies, xml ) | Need Help?? |
That only works for integer exponents. The equation in the OP handles real numbers. Using exp and ln, it's possible to find any exponent.
In Section
Seekers of Perl Wisdom
|
|