Implementation of exp()
- Posted by CChris <christian.cuvier at agr?cult?re.gouv.fr> Aug 26, 2007
- 653 views
Mathematically, the exponential function is exactly power(E,x), which is how it is implemented in the latest proposal for math,e , Probem os, this is not very accurate numerically. For x=100,0, the 12th decimal pace and up are wrong, The discrepancy at the 15th place starts at x=10, roughly. Should we go on with this inaccuracy? If not, exp() shoud be made a builtin, like sqrt() or sin(). CChris