Post Reply 
Example Program to calculate Factorial
02-02-2018, 09:58 PM (This post was last modified: 02-02-2018 11:02 PM by Gerson W. Barbosa.)
Post: #32
RE: Example Program to calculate Factorial
(02-02-2018 08:16 PM)badaze Wrote:  7 steps but does not manage 0!

Try adding EEX as your first step. If it works that’ll make 8 steps. Still pretty good!

PS: It will work only for x=0 and x=1. I have a dead 29C in front of me and can’t think of anything better than [ x=0 ] [ e^x ], which makes 9 steps. Still not bad.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Example Program to calculate Factorial - Gerson W. Barbosa - 02-02-2018 09:58 PM



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