Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!i2unix!alessia!ares From: ares@alessia.dei.unipd.it (Nicola Catacchio 259126) Newsgroups: comp.sys.handhelds Subject: Re: HP48: GCF and LCD programs Summary: GCD in RPN Message-ID: <10081@alessia.dei.unipd.it> Date: 5 Mar 91 14:40:49 GMT References: <1991Mar1.044209.22242@ncsu.edu> Organization: DEI Padova University Lines: 17 In article <1991Mar1.044209.22242@ncsu.edu>, eagle@catt.ncsu.edu (Daniel L'Hommedieu) writes: > For those of you who are ambitious and would like to help me translate > the GCF program into RPN, here it is in some pseudocode form: Here you are: << WHILE DUP REPEAT SWAP OVER MOD END DROP >> Computes gcd given the two numbers in the stack, in level 1: and 2:. If someone can read me, please write to me or followup on this group, I'm not sure that this news can be read out of Italy. My address is: ares@alessia.dei.unipd.it Nicola Catacchio (Padua University)