On Sat, 2001-09-08 at 11:00, Dan Sugalski wrote: > Okay, I'm whipping together the "fancy math" section of the interpreter > assembly language. I've got: > > sin, cos, tan : Plain ones > asin, acos, atan : arc-whatevers > shinh, cosh, tanh : Hyperbolic whatevers > log2, log10, log : Base 2, base 10, and explicit base logarithms > pow : Raise x to the y power > > Can anyone think of things I've forgotten? It's been a while since I've > done numeric work. > > Dan > While not math, per se, there are bitops (and, or, not, xor, eqv) and shifts (though they can be simulated by "mul tx,ty,(2^bits)" and "div tx,ty,(2^bits)") I doubt rolls would be useful :) Are there going to be string ops as well, or would add and mul work on string registers? Brian
- Re: Math functions? (Particularly transcendental ones) Uri Guttman
- Re: Math functions? (Particularly transcendental ones) Buddha Buck
- Re: Math functions? (Particularly transcendental ones) Dan Sugalski
- Re: Math functions? (Particularly transcendental ones) Bryan C . Warnock
- Re: Math functions? (Particularly transcendental ones) Dan Sugalski
- Re: Math functions? (Particularly transcendental ones) Michael G Schwern
- Re: Math functions? (Particularly transcendental ones) Uri Guttman
- Re: Math functions? (Particularly transcendental on... Michael G Schwern
- Re: Math functions? (Particularly transcendental ones) Brian Wheeler
- Re: Math functions? (Particularly transcendental on... Bryan C . Warnock
- Re: Math functions? (Particularly transcendental ones) Dan Sugalski
- Re: Math functions? (Particularly transcendental ones) Brian Wheeler
- Re: Math functions? (Particularly transcendental ones) Matthew Cline
- RE: Math functions? (Particularly transcendental ones) Wizard
- Re: Math functions? (Particularly transcendental ones) Benjamin Stuhl
- RE: Math functions? (Particularly transcendental ones) Brian Wheeler
- Re: Math functions? (Particularly transcendental ones) Uri Guttman
- Re: Math functions? (Particularly transcendental ones) Uri Guttman