>Okay, I'm whipping together the "fancy math" section of the interpreter 
>assembley language. I've got:
> ...
>Can anyone think of things I've forgotten? It's been a while since I've 
>done numeric work.

HP calculators sometimes define 

lnp1(x)  = ln(1 + x) 
expm1(x) = exp(x) - 1 

to deal accurately and quickly with the special case where x<<1. This may not be
useful in an environment of pseudo-infinite precision, unless speed begins to
matter alot. Maybe they could be called automagically when the compiler sees
something like the RHS of the above as an optimization.

--

-- Tim Conrow         [EMAIL PROTECTED]                           |

Reply via email to