Post Reply 
RPL second impressions (HP 28)
07-01-2018, 11:13 PM
Post: #46
RE: RPL second impressions (HP 28)
(07-01-2018 10:46 PM)DavidM Wrote:  I don't have a 28 (C or S), but I don't believe the HEAD/TAIL functions exist for those models. At least they don't for the 48sx, so I'd be surprised if they were included on the 28.

So replacing those commands with

HEAD: 1 GET
TAIL: 2 OVER SIZE SUB
That should teach me to read the manuals. In this case just using a FOR-loop and use GET might be simpler.

Quote:...allowed me to at least try your suite on a 48sx. Primality testing for 999999999989 completed in about 75 seconds.

Thanks a lot for running the test. I assume that 177777773 takes about the same time.
It's just that the naïve approach would take considerably (~5625 times) longer for 999999999989.

Just for the record: I wrote the program in m48 on the iPhone and the result appears immediately.

Quote:The 28 systems would obviously take longer -- someone more familiar with the relative performance of the 28's and 48's could probably give more insight.
Let me help Gerson with the code for the HP-28.

Quote:I know this isn't exactly what you were looking for, but perhaps it will give you some idea of what to expect until someone has the chance to enter the programs on a 28.

Never mind. Thanks again for your effort.
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RPL second impressions (HP 28) - mdunn - 06-27-2018, 01:19 AM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 01:58 PM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 04:06 PM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 05:11 PM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 07:45 PM
RE: RPL second impressions (HP 28) - mdunn - 06-28-2018, 08:48 PM
RE: RPL second impressions (HP 28) - Thomas Klemm - 07-01-2018 11:13 PM
RE: RPL second impressions (HP 28) - ttw - 07-04-2018, 10:52 PM



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