Post Reply 
50g User RPL Micro-Challenge: Fraction to a Power
10-10-2017, 04:12 AM
Post: #20
RE: 50g User RPL Micro-Challenge: Fraction to a Power
(10-09-2017 10:37 PM)brickviking Wrote:  
(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.

Not the exact answer, which is what was specified.

<0|ɸ|0>
-Joe-
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 - Joe Horn - 10-10-2017 04:12 AM



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