>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] |
- Math functions? (Particularly transcendental ones) Dan Sugalski
- Re: Math functions? (Particularly transcendental on... Tim Conrow
- Re: Math functions? (Particularly transcendental on... Uri Guttman
- Re: Math functions? (Particularly transcendenta... Dan Sugalski
- Re: Math functions? (Particularly transcendental on... Buddha Buck
- Re: Math functions? (Particularly transcendental on... Dan Sugalski
- Re: Math functions? (Particularly transcendental on... Bryan C . Warnock
- Re: Math functions? (Particularly transcendental on... Dan Sugalski
- Re: Math functions? (Particularly transcendental on... Michael G Schwern
- Re: Math functions? (Particularly transcendental on... Uri Guttman
- Re: Math functions? (Particularly transcendenta... Michael G Schwern