Post Reply 
Double factorial [wp34s]
02-13-2016, 12:14 AM
Post: #10
RE: Double factorial [wp34s]
(02-12-2016 07:54 PM)Dieter Wrote:  Hmmm... this sounds quite challenging. Which does not mean it couldn't be done. ;-)

There are instructions included in the 34S for doing this kind of thing easily:

Code:
LBL A
LocR 08
STOS .00
...
X<> .00
STO L
RCLS .00
RTN

Not as good as XROM's xIN/xOUT but this version will nest and you've got the input value in a register for easy access and LastX is handled correctly. Not bad for five steps.


- Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Double factorial [wp34s] - Paul Dale - 02-12-2016, 06:27 AM
RE: Double factorial [wp34s] - Dieter - 02-12-2016, 07:49 AM
RE: Double factorial [wp34s] - Dieter - 02-12-2016, 07:54 PM
RE: Double factorial [wp34s] - Paul Dale - 02-13-2016 12:14 AM
RE: Double factorial [wp34s] - Paul Dale - 02-12-2016, 10:45 AM
RE: Double factorial [wp34s] - Paul Dale - 02-12-2016, 10:33 PM
RE: Double factorial [wp34s] - Paul Dale - 02-13-2016, 10:41 PM
RE: Double factorial [wp34s] - Dieter - 02-15-2016, 07:03 AM
RE: Double factorial [wp34s] - emece67 - 02-13-2016, 12:57 AM
RE: Double factorial [wp34s] - Paul Dale - 02-13-2016, 04:46 AM
RE: Double factorial [wp34s] - Dieter - 02-13-2016, 06:53 AM
RE: Double factorial [wp34s] - Paul Dale - 02-13-2016, 07:05 AM
RE: Double factorial [wp34s] - Dieter - 02-13-2016, 07:00 PM
RE: Double factorial [wp34s] - emece67 - 02-13-2016, 09:15 AM
RE: Double factorial [wp34s] - John Keith - 02-14-2016, 03:24 PM



User(s) browsing this thread: 1 Guest(s)