Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'elements.': 0.05; 'prefix': 0.07; 'remaining': 0.07; 'stack.': 0.07; 'polish': 0.09; 'pushed': 0.13; 'stack': 0.13; 'emulator': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'fyi,': 0.16; 'hewlett': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'notation,': 0.16; 'packard': 0.16; 'received:192.168.1.4': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'subject:assistance': 0.16; 'wing': 0.16; 'wrote:': 0.16; 'later': 0.16; 'first.': 0.18; 'versions': 0.20; 'dropped': 0.22; 'lawrence': 0.22; 'elements': 0.23; 'header :In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; '(e.g.,': 0.27; 'moved': 0.27; 'notation': 0.29; 'ray': 0.29; 'entry': 0.31; 'bill': 0.32; 'received:84': 0.32; 'could': 0.35; 'to:addr:python- list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'itself': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'mark': 0.40; 'still': 0.40; 'subject:Need': 0.61; 'reverse': 0.66; 'talking': 0.67; 'skip:\xe2 10': 0.70; 'jul': 0.72; 'william': 0.79; 'interchange': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=OoyysHLt c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=EBOSESyhAAAA:8 a=AGkejYDSTmIA:10 a=IkcTkHD0fZMA:10 a=BrDiTsk0AAAA:8 a=sfR0xzf__mSg_nFX7ygA:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett@:2500 Date: Sun, 19 Jul 2015 01:14:46 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Need assistance References: <225d4ac6-3b88-4844-805b-b4b00cd62ef4@googlegroups.com> <55AA2BDE.6050605@web.de> <"of> <18> <2015> <12:35:10> <+0200."@mac.com> <55AA2BDE.6050605@web.de> <201507181216.t6ICGBrY022256@fido.openend.se> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437264896 news.xs4all.nl 2893 [2001:888:2000:d::a6]:58516 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:94074 On 2015-07-18 19:28, William Ray Wing wrote: > >> On Jul 18, 2015, at 1:34 PM, Mark Lawrence wrote: >> >> > > [byte] > >> What is an {HP calculator} roll operation? >> > > The original Hewlett Packard “Scientific” calculators (HP-35, 45, 65, etc) that used Polish notation (operand, operand, operation; with no “=“ sign) had a stack. FYI, Polish Notation is a prefix notation; the operation comes first. What you're talking about is Reverse Polish Notation, where the operation comes last. > That stack itself could be manipulated (e.g., interchange X and Y). One of the stack manipulation commands was “Roll” which moved the top entry into X and pushed remaining elements up one. Later versions had both Roll-up and Roll-down, Roll-down moved the X entry to the top of the stack and dropped the other elements. > > Bill (Who still uses an HP-45 emulator on his iPhone) >