Post Reply 
RPL speed HP-48G vs HP-50g
04-30-2024, 01:16 AM
Post: #1
RPL speed HP-48G vs HP-50g
I've recently picked up an HP-50g and decided to run some of my simple RPL programs on it. From what I'd read it is claimed to be faster than my HP-48G, but when I run the identical code on it I find that it is soundly beaten by the 48.

Is this normal or is there something I've done wrong?
Find all posts by this user
Quote this message in a reply
04-30-2024, 12:28 PM
Post: #2
RE: RPL speed HP-48G vs HP-50g
(04-30-2024 01:16 AM)enkidu Wrote:  I've recently picked up an HP-50g and decided to run some of my simple RPL programs on it. From what I'd read it is claimed to be faster than my HP-48G, but when I run the identical code on it I find that it is soundly beaten by the 48.

Is this normal or is there something I've done wrong?

This can happen for several reasons, one of which is the use of "integer type objects" in the 50g program instead of the floating-point real numbers used in all 48G programs. For a fair comparison, make sure that all the literal numbers in the 50g program have a decimal point at the end, e.g. "153." instead of "153". The 48G doesn't display the trailing decimal points on real integers, but the 50g does.

If the program is longer than a few lines, just edit it in Approx Mode (MODE, CAS, Approx) to automatically convert all integers from integer type objects to floating-point reals.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
04-30-2024, 04:59 PM
Post: #3
RE: RPL speed HP-48G vs HP-50g
(04-30-2024 12:28 PM)Joe Horn Wrote:  If the program is longer than a few lines, just edit it in Approx Mode (MODE, CAS, Approx) to automatically convert all integers from integer type objects to floating-point reals.
You can also toggle approximate node by holding down [Right Shift] and pressing [Enter].
Find all posts by this user
Quote this message in a reply
04-30-2024, 06:49 PM
Post: #4
RE: RPL speed HP-48G vs HP-50g
(04-30-2024 12:28 PM)Joe Horn Wrote:  
(04-30-2024 01:16 AM)enkidu Wrote:  I've recently picked up an HP-50g and decided to run some of my simple RPL programs on it. From what I'd read it is claimed to be faster than my HP-48G, but when I run the identical code on it I find that it is soundly beaten by the 48.

Is this normal or is there something I've done wrong?

This can happen for several reasons, one of which is the use of "integer type objects" in the 50g program instead of the floating-point real numbers used in all 48G programs. For a fair comparison, make sure that all the literal numbers in the 50g program have a decimal point at the end, e.g. "153." instead of "153". The 48G doesn't display the trailing decimal points on real integers, but the 50g does.

If the program is longer than a few lines, just edit it in Approx Mode (MODE, CAS, Approx) to automatically convert all integers from integer type objects to floating-point reals.

enkidu,

If you don’t mind, after applying Joe’s suggestion, please report your results for the benefit of readers curious about the speed difference after comparing apples to apples. Thanks!
Find all posts by this user
Quote this message in a reply
04-30-2024, 06:51 PM
Post: #5
RE: RPL speed HP-48G vs HP-50g
Thanks, this indeed made a significant difference. The 50g now runs the program somewhat faster than the 48G!
Find all posts by this user
Quote this message in a reply
Post Reply 




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