Resuming an old post......................while crunching numberes
#1

Hi all!
I was looking for informations about the HP32sII and related benchmarks when I found this old post in the archives, a long discussion expecially between Norm and Valentin Albillo..........very, very interesting matter, then while searching I stopped on Namir Shammas site with his HP67 emulator and I agreed, reading words like:"These programs run MUCH FASTER THAN ON THE ORIGINAL CALCULATOR!!! The simulator combines the speed and power of the personal computer with the vintage technology of the HP-67 calculator. No more taking coffee breaks while the calculator is busy crunching numbers!!"

just a couple of days ago, I was trying to calculate with programs written for hp67 (stat pac), HP41c and HP42s (J.Baillard, thanks) n! of an integer (5.850 or 5,850 for the ones who use the comma in place of dot)....

Here below the porformances (crunching time)

HP67 >>>>>>>>>>>>>> 2h 15'

HP41c >>>>>>>>>>>>> 20 '

HP41c emulator>>>>> 14'

HP42s >>>>>>>>>>>>> 11'

Hp42s emulator>>>>> 3'' (woah!)

HP49g+(build in fn) 20'

not yet tested with WP34s

Really we moved in the last years from the moon to mars!


Edited: 26 Sept 2012, 9:05 a.m. after one or more responses were posted

#2

Quote:
not yet tested with WP42s

Because there is not such a calculator, I presume :-)
#3

Tested on go49g (built-in in exact mode) on a galaxy tab10.1: 180 seconds :)

(a number of 19500 digits with 1460 '0' at the end)

P.S. I'm curious about the HP67/97 program for testing it on my emulators ...


Edited: 24 Sept 2012, 6:22 p.m.

#4

Quote:

Because there is not such a calculator, I presume :-)



sorry wp34 I meant, post edited.........

#5

I know you meant the WP 34S, sorry! This only reflects our desire to have the WP 42S one day :-)

#6

<10 '' Galaxy Tab 7'' using Wolfram Alpha App (Android)

Don't tell me that's unfair advantage. I know.

#7

Hm, I'd really like to know how long this takes on the WP.

#8

5850! overflows double precision, although the internal numeric format will represent this just fine -- it supports truly huge exponents. The answer is of the order of 1019499 which is tiny in comparison.

We can do better of course. Log gamma just happens to be a built-in function. LnGamma of 5851 takes under a second and returns 44899.3081516.... divide this by Ln(10) and get 19499.5217715.... take the fractional portion and raising 10 to this power gives: 3.324845739721310138138472210374560 x 1019499. So 29 accurate digits in a few seconds manually and under a second from a program. I did all this in double precision mode -- single precision won't be any faster.

I'm not going to find the precise overflow threshold for factorial, however 2000! doesn't overflow double precision mode.

- Pauli


Edited: 26 Sept 2012, 6:48 a.m.

#9

2123! is the last working before an overflow error in double precision.

#10

What about the fractional part? Factorial is really a gamma function :-)

- Pauli

#11

The program below gives a very rough approximation of x (x > 1.5), given x!:

6145 10^x A  -->  2123.51     x!  -->  7.64e6144

EEX 100 A --> 69.95 x! --> 9.56e99

EEX 10 A --> 13.17 x! --> 9.81e9

Gerson.


-----------------------------

001 LBL A
002 LN
003 FILL
004 1
005 e^x
006 /
007 Wp
008 /
009 .
010 5
011 -
012 STO 00
013 x<> Y
014 Wp
015 1/x
016 LN
017 FILL
018 1
019 0
020 LN
021 2
022 10^x
023 /
024 *
025 6
026 EEX
027 +/-
028 4
029 *
030 +/-
031 .
032 1
033 SQRT
034 +
035 *
036 1
037 +/-
038 e^x
039 SQRT
040 +
041 +/-
042 RCL+ 00
043 END

#12

By nested intervals, I get 1HIG in double precision
(i.e. 9.999 999 999 997 216 877...E6144)
for 2 123.549 956 662 463 2!, FWIW.

Edited: 27 Sept 2012, 5:05 a.m.



Possibly Related Threads…
Thread Author Replies Views Last Post
  (deleted post) deleted 2 1,413 11-03-2013, 06:24 AM
Last Post: deleted
  trig scales on the Post Versalog slide rule Al 12 3,852 09-15-2013, 06:01 AM
Last Post: John I.
  (deleted post) deleted 19 4,728 08-31-2013, 03:46 AM
Last Post: pascal_meheut
  Best HP calculator for crunching numbers rpn fan 51 12,921 08-05-2013, 03:17 PM
Last Post: rpn fan
  (deleted post) deleted 2 1,395 03-25-2013, 06:41 PM
Last Post: Eric Smith
  (deleted post) deleted 15 4,608 03-09-2013, 01:35 PM
Last Post: Mark Hardman
  New Blog Post: Length of a Polynomial Segment Eddie W. Shore 1 1,232 01-17-2013, 08:56 PM
Last Post: Namir
  (deleted post) deleted 5 1,995 01-07-2013, 09:39 AM
Last Post: Frank Boehm (Germany)
  (deleted post) deleted 7 2,380 09-18-2012, 11:11 AM
Last Post: René Franquinet
  HP41 post replacement experiment Bruce Larrabee 14 3,748 07-16-2012, 06:51 PM
Last Post: Bruce Larrabee

Forum Jump: