Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Re: (Golf) Reversing RPN Notation

by MeowChow (Vicar)
on May 21, 2001 at 20:55 UTC ( #82013=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: (Golf) Reversing RPN Notation
in thread (Golf) Reversing RPN Notation

Uh, no, addition and subtraction are left-to-right associative, which means that:
2 - 3 + 4 = -1 + 4 = 3 while 2 - (3 + 4) = 2 - 7 = -5
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://82013]
help
Chatterbox?
[choroba]: Hi Corion!
[Discipulus]: hello folks!
[Corion]: Hi choroba, Discipulus!
[Corion]: choroba: It's currently evening for you, isn't it? Or are you up in the middle of the night?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-02-23 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (342 votes). Check out past polls.