Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Uri Guttman
> "DS" == Dave Storrs <[EMAIL PROTECTED]> writes: DS> On Sat, 8 Sep 2001, Uri Guttman wrote: >> > "BW" == Brian Wheeler <[EMAIL PROTECTED]> writes: BW> =item eqv tx, ty, tz * >> BW> Bitwise Equivalence all bits in y with z and store the result in BW> register x. >> >> t

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Dave Storrs
On Sat, 8 Sep 2001, Uri Guttman wrote: > > "BW" == Brian Wheeler <[EMAIL PROTECTED]> writes: > BW> =item eqv tx, ty, tz * > > BW> Bitwise Equivalence all bits in y with z and store the result in > BW> register x. > > that is just !(y xor z). we can provide the op but perl as we know

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 Brian Wheeler
On Sat, 2001-09-08 at 22:24, Uri Guttman wrote: > > "BW" == Brian Wheeler <[EMAIL PROTECTED]> writes: > > > BW> =item and tx, ty, tz * > > BW> Bitwise And all bits in y with z and store the result in register x. > BW> (x = y & z) > > just a minor thought on parrot assembler argument

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 Uri Guttman
> "BW" == Brian Wheeler <[EMAIL PROTECTED]> writes: BW> =item and tx, ty, tz * BW> Bitwise And all bits in y with z and store the result in register x. BW> (x = y & z) just a minor thought on parrot assembler argument order. dan seems to have picked the result register to be first.

RE: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Brian Wheeler
On Sat, 2001-09-08 at 21:43, Wizard wrote: > Questions regarding Bitwise operators: > > > =item rol tx, ty, tz * > ... > > =item ror tx, ty, tz * > > Are these with or without carry? > If not, is there a need for a RCL/RCR (with carry...and carry where)? > I'd think without, since I've not see

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 Wizard
Questions regarding Bitwise operators: > =item rol tx, ty, tz * ... > =item ror tx, ty, tz * Are these with or without carry? If not, is there a need for a RCL/RCR (with carry...and carry where)? And what about a negate operator (neg)? Grant M.

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Matthew Cline
On Saturday 08 September 2001 09:00 am, 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 Brian Wheeler
On Sat, 2001-09-08 at 15:28, Dan Sugalski wrote: > At 03:14 PM 9/8/2001 -0500, Brian Wheeler wrote: > >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

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Dan Sugalski
At 03:14 PM 9/8/2001 -0500, Brian Wheeler wrote: >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 > > s

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: Links

2001-09-08 Thread Dan Sugalski
At 02:43 PM 9/8/2001 -0400, Sterin, Ilya wrote: >Sorry, went a little of our the way. Will keep my mouth shut on those thing >from now on:-) I don't mind if folks get critical about other programmers. Just not here. :) I think we've got an advocacy list kicking around somewhere...

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: Links

2001-09-08 Thread Sterin, Ilya
Sorry, went a little of our the way. Will keep my mouth shut on those thing from now on:-) > -Original Message- > From: Dan Sugalski [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 08, 2001 2:19 PM > To: [EMAIL PROTECTED] > Subject: RE: Links > > > At 02:24 PM 9/8/2001 -0400, Ster

RE: Links

2001-09-08 Thread Dan Sugalski
At 02:24 PM 9/8/2001 -0400, Sterin, Ilya wrote: >Let's see. Illegible syntax in his opinion is mostly presented in regular >expression syntax. Is he a dumb @$$ or what. It would probably be best, all things considered, if we could refrain from criticizing individuals or languages. (With the ex

RE: Links

2001-09-08 Thread Sterin, Ilya
> -Original Message- > From: raptor [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 08, 2001 8:11 AM > To: [EMAIL PROTECTED] > Subject: Links > > > All I found with lycos... but no speed comparison only mumbo-jumbo : > http://language.perl.com/versus/ > http://www.jvoegele.com/sof

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

Links

2001-09-08 Thread raptor
All I found with lycos... but no speed comparison only mumbo-jumbo : http://language.perl.com/versus/ http://www.jvoegele.com/software/langcomp.html http://www.geocities.com/tablizer/langopts.htm http://www.cs.usyd.edu.au/~sholden/pythonperl.html http://www.pixeldate.com/dev/comparison/ = iVA

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::{

Re: Final, no really, Final draft: Conventions and Guidelines for Perl Source Code

2001-09-08 Thread Dave Mitchell
Robert Spier <[EMAIL PROTECTED]> wrote > >>How about something a little more explicit than XXX, like TODO or FIXME? > > Some syntax-highlighting editors highlight "XXX". Let's use that feature. > > > Which ones? emacs doesn't seem to do it by default. > > > > And how can you get more explici