[PEPr] Comment on Math::Math_AP_(Re-proposal)
| From: | Etienne Kneuss | Date: | Sun, 19 Mar 2006 16:56:51 +0000 |
| Subject: | [PEPr] Comment on Math::Math_AP_(Re-proposal) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41870@lists.php.net to get a copy of this message | ||
Etienne Kneuss (http://pear.php.net/user/colder) has commented on the proposal for
Math::Math_AP_(Re-proposal).
Comment:
Most of the points of my comment about Math_AP don't seem to be
resolved(tests when to break, convergence, algorithms, pi value, ...) .
There is still some problem with the algorithms:
The validity range of your algorithm that calculates tan(x) is only |x| <
Pi/2. You need some tricks to make it available for every x in |R. Same for
ArcTan(x), which have a validity range of |x| <= 1. The exp algorithm is
highly divergent for negative input, you'll also need some tricks( e^-x =
1/e^x and e^4.8 = (((e^0.6)^2)^2) for example).
I will elaborate on this subject only if you need it.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=352
--
Sent by PEPr, the automatic proposal system at http://pear.php.net