Post Reply 
How do I learn RPL and solve this problem with it?
09-26-2017, 06:57 PM
Post: #35
RE: How do I learn RPL and solve this problem with it?
(09-26-2017 06:37 PM)Claudio L. Wrote:  Here's an idea for you: just have a list of the 12 basic ones, counting from 1.0, 1.2,1.5...

You can always split a number with MANT and XPON. Since MANT gives you the mantissa 1.0 < x < 10.0 it works perfect. All we need to add is a 10 at the end of the list, and we are guaranteed the mantissa falls within the list.
Then at the end we can multiply back by the XPON and there you go, or you can multiply the list by the XPON first, and work with the whole number, your choice.

EDIT: Just to clarify, not to multiply directly by the XPON, but by the ALOG of the XPON.

First: thanks for sharing.

Second: for practical purposes (optimization comes after correct resolution) is it important? I mean if the list would be 200 or 2000 elements, I would find your tip needed due to memory constraints, but 96 elements are not that much even for userRPL I'd say (if they are precomputed). Or do I miss something?

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How do I learn RPL and solve this problem with it? - pier4r - 09-26-2017 06:57 PM



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