Implementation of exp()

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu