Post Reply 
50g User RPL Micro-Challenge: Fraction to a Power
10-09-2017, 10:37 PM
Post: #18
RE: 50g User RPL Micro-Challenge: Fraction to a Power
(10-09-2017 10:26 AM)Joe Horn Wrote:  The 50g in exact mode takes a very long time to raise a fraction (ratio of integers) to integer powers. Example: 11/12 to the 115th power:

11/12
115
<< ^ EVAL >>

takes about 40 seconds to return the exact answer.

Micro-Challenge: Generate that same answer in less than 1 second, using only vanilla User RPL (no System RPL or SYSEVALs or FLASHEVALs etc). The fastest program wins.

On my calculator, putting that onto the stack and using this: [RSHIFT] →NUM gives me the answer in less than a second.
(Although in saying that, if I hit EVAL instead, that takes a while, and gives me a fraction with really REALLY long numbers.)

I don't know if my answer counts as RPL or not.

(whistles innocently)

(Post 113)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 50g User RPL Micro-Challenge: Fraction to a Power - brickviking - 10-09-2017 10:37 PM



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