Post Reply 
HP Prime vs HP71 benchmark
01-24-2017, 04:32 PM (This post was last modified: 01-24-2017 04:34 PM by KeithB.)
Post: #7
RE: HP Prime vs HP71 benchmark
Thanks cyrille.
But you have a bug*. H is supposed to be the number of hits *inside* the circle, not outside. I had to add an extra count and subtract that from 10000 to get things to work.

Anyway, that does speed things up as you said, it now takes about 5.1 seconds for 50000 iterations. That makes the prime about 1650 times faster than the HP71.

BTW, what is up with the 'C like' for loop? It works without a syntax error, but is not documented. Is any expression allowed in the place of the from?

ETA: OOPS, I did not see that you had corrected the PI calculation to correct for this, sorry.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime vs HP71 benchmark - KeithB - 01-20-2017, 08:35 PM
RE: HP Prime vs HP71 benchmark - Erwin - 01-20-2017, 10:35 PM
RE: HP Prime vs HP71 benchmark - KeithB - 01-20-2017, 10:57 PM
RE: HP Prime vs HP71 benchmark - KeithB - 01-23-2017, 05:38 PM
RE: HP Prime vs HP71 benchmark - KeithB - 01-24-2017, 03:45 PM
RE: HP Prime vs HP71 benchmark - KeithB - 01-24-2017 04:32 PM
RE: HP Prime vs HP71 benchmark - KeithB - 01-24-2017, 06:13 PM
RE: HP Prime vs HP71 benchmark - Paul Dale - 01-25-2017, 06:26 AM
RE: HP Prime vs HP71 benchmark - KeithB - 01-25-2017, 03:38 PM



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