Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Uri Guttman
> "JH" == Jeremy Howard <[EMAIL PROTECTED]> writes: JH> Uri Guttman wrote: >> > "BS" == Benjamin Stuhl <[EMAIL PROTECTED]> writes: >> >> >> Can anyone think of things I've forgotten? It's been a while since >> >> I've done numeric work. >> BS> ln, asinh, acosh, atanh2? >

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Uri Guttman
> "BS" == Benjamin Stuhl <[EMAIL PROTECTED]> writes: >> Can anyone think of things I've forgotten? It's been a while since >> I've done numeric work. BS> ln, asinh, acosh, atanh2? dan mentioned log (base anything) but i don't recall ln. and definitely the arc hyberbolics are in after

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Benjamin Stuhl
--- Dan Sugalski <[EMAIL PROTECTED]> 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

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Bryan C . Warnock
On Saturday 08 September 2001 04:14 pm, Brian Wheeler wrote: > 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)") There will be bitops. > > I doubt rolls would be useful :) Vuja de. >

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Brian Wheeler
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, l

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Michael G Schwern
On Sat, Sep 08, 2001 at 02:55:36PM -0400, Uri Guttman wrote: > zap is an ibm 360/370/390 assembler op code and i bet they > trademarked/patented/whatevered its name. :) > > Zero and Add Packed. > > gawd, i can't believe i remembered that. i don't recall exactly what it > does but i think it was

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Uri Guttman
> "MGS" == Michael G Schwern <[EMAIL PROTECTED]> writes: MGS> On Sat, Sep 08, 2001 at 12:00:24PM -0400, Dan Sugalski wrote: >> pow: Raise x to the y power MGS> You forgot biff, zap and womp! zap is an ibm 360/370/390 assembler op code and i bet they trademarked

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: >> 1/x is often handy, although maybe not enough to justify its own opcode. >> (It is often used in other calculations, however, so perhaps one opcode >> would be better than 3.) >> >> sqrt has traditionally been provided in langua

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Michael G Schwern
On Sat, Sep 08, 2001 at 12:00:24PM -0400, Dan Sugalski wrote: > pow : Raise x to the y power You forgot biff, zap and womp! -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Dan Sugalski
At 01:38 PM 9/8/2001 -0400, Bryan C. Warnock wrote: >On Saturday 08 September 2001 12:00 pm, 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-w

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Bryan C . Warnock
On Saturday 08 September 2001 12:00 pm, 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,

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Dan Sugalski
At 12:29 PM 9/8/2001 -0400, Buddha Buck wrote: >Dan Sugalski <[EMAIL PROTECTED]> writes: > > > Okay, I'm whipping together the "fancy math" section of the interpreter > > assembly language. I've got: > > > > > Can anyone think of things I've forgotten? It's been a while since I've > > done numeric

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Dan Sugalski
At 12:12 PM 9/8/2001 -0400, Uri Guttman wrote: > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > DS> Can anyone think of things I've forgotten? It's been a while since > I've > DS> done numeric work. > >i am not being picky, but there is secant, and arc hyperbolics too. you >can deri

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Buddha Buck
Dan Sugalski <[EMAIL PROTECTED]> writes: > Okay, I'm whipping together the "fancy math" section of the interpreter > assembly language. I've got: > Can anyone think of things I've forgotten? It's been a while since I've > done numeric work. Uri mentioned exp(x) = e^x, but I think if you are

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> Okay, I'm whipping together the "fancy math" section of the interpreter DS> assembly language. I've got: DS> sin, cos, tan : Plain ones DS> asin, acos, atan : arc-whatevers DS> shinh, cosh, tanh : Hyperbolic whate

Math functions? (Particularly transcendental ones)

2001-09-08 Thread Dan Sugalski
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

Re: What's up with %MY?

2001-09-08 Thread Dave Mitchell
"Bryan C. Warnock" <[EMAIL PROTECTED]> wrote: > On Thursday 06 September 2001 08:53 am, Dave Mitchell wrote: > > But surely %MY:: allows you to access/manipulate variables that are in > > scope, not just variables are defined in the current scope, ie > > > > my $x = 100; > > { > > print $MY::{