Post Reply 
N-Queens Benchmark On 38E
01-24-2020, 03:03 PM
Post: #1
N-Queens Benchmark On 38E
It turns out that the 38E and the 12C have effectively identical programming capabilities (minus the 12C's added financial functions like bonds and depreciation), and that includes the (mis)use of CFj and Nj to do indirect addressing, so you can use the 12C version of the benchmark program as-is on a 38.

See here for program listings:

https://www.hpmuseum.org/cgi-sys/cgiwrap...i?read=700

There is one minor stylistic issue to note with the 12C program listing: STO g Nj isn't actually a valid key sequence on either model. What happens is that the g cancels out the previous STO prefix, and you're just executing Nj. That's fine, because that's how you store a value. Pressing STO g Nj on the 38 puts the keycode 25 15 into program memory, which is just g Nj.

Anyway, the run time that I got on my 38E was 1h06m12s. That means the 12C is only about 15-16% faster than the 38E. I'd be curious to know if the 38C differs significantly.

And for anybody that was questioning the utility of the D.MSΔ% function I put in my percentage program for the 65, there you go. Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
01-25-2020, 08:21 PM
Post: #2
RE: N-Queens Benchmark On 38E
Thank you for testing the 38E. I've updated the list with your result.

Calculator Benchmark
Find all posts by this user
Quote this message in a reply
01-25-2020, 10:00 PM
Post: #3
RE: N-Queens Benchmark On 38E
(01-24-2020 03:03 PM)Dave Britten Wrote:  Anyway, the run time that I got on my 38E was 1h06m12s. That means the 12C is only about 15-16% faster than the 38E.
However the 12C batteries last for a decade longer on a single charge;-)
SCNR...

-- Ray
Find all posts by this user
Quote this message in a reply
01-26-2020, 01:51 PM
Post: #4
RE: N-Queens Benchmark On 38E
(01-25-2020 10:00 PM)Raymond Del Tondo Wrote:  
(01-24-2020 03:03 PM)Dave Britten Wrote:  Anyway, the run time that I got on my 38E was 1h06m12s. That means the 12C is only about 15-16% faster than the 38E.
However the 12C batteries last for a decade longer on a single charge;-)
SCNR...

No kidding! I don't think I can remember ever having to change the batteries on my 12C. Plus it's got bonds and depreciation (which I never use). But I do like how the 38 introduced the now-standard 5-variable TVM equation that allows for easy what-ifs with any combination of variables.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-27-2020, 12:02 AM (This post was last modified: 01-27-2020 12:13 AM by Gamo.)
Post: #5
RE: N-Queens Benchmark On 38E
The HP-12C should include the Combination, Permutation, and Pricing Calculation functions.
If the original 12C doesn't have enough memory there no excute to provide these function to
the HP-12C Platinum.

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 




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