>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] |
- RE: Math functions? (Particularly transcendental ones) David Whipp
- Re: Math functions? (Particularly transcendental ones) Simon Cozens
- Re: Math functions? (Particularly transcendental ones) Dan Sugalski
- RE: Math functions? (Particularly transcendental ones) Hong Zhang
- Re: Math functions? (Particularly transcendental ones) David M. Lloyd
- RE: Math functions? (Particularly transcendental ones) Hong Zhang
- RE: Math functions? (Particularly transcendental ones) Dan Sugalski
- Re: Math functions? (Particularly transcendental ones) Bart Lateur
- Re: Math functions? (Particularly transcendental ones) Bart Lateur
- Tim Conrow