View Single Post
  #19   Report Post  
DoN. Nichols
 
Posts: n/a
Default

In article ,
Lawrence Glickman wrote:
On 04 Dec 2004 19:00:43 GMT, Ian Stirling
wrote:

In rec.crafts.metalworking Lawrence Glickman wrote:
On 04 Dec 2004 17:10:21 GMT, Ian Stirling
wrote:


[ ... ]

In some tasks, this can be the limiting factor for calculation.


No calculation my computer is ever going to need to make.
We're talking apples and oranges here. I'm talking about getting a
motorcycle up to 200 mph, you're talking about taking a truck up to
200 mph. Yes, they are going to require different engines.


If you do image processing, you will need the big RAM, or a bit
swap file. The image processing programs like to have the *whole* image
in RAM -- even if it has to use swap space to do it. :-)

For my purposes ( motorcycle ), the load my CPU has to deal with,
things appear normal in human time. I am not simulating nuclear
detonations in virtual reality. Any nanosecond speed differences are
not perceptible to this human unit.

I just performed 170! ( factorial of 170 ). That's the limit on my
*engine*

I got an answer of 7.2574E+306 before I could even take my finger off
the enter key. Is that not fast enough for a *consumer computer*


My SS-5 (a mere 170 MHz CPU speed) does that one at:

================================================== ====================
izalco:dnichols 20:09 time dc /tmp/trial-170
72574156153079989673967282111292631147169916812964 513765435777989005\
61843401706157852350749242617459511490991237838520 776666022565442753\
02532890077320751090240043028005829560396661259965 825710439855829425\
75689663134396122625710949468067112055688804571933 402126614528000000\
00000000000000000000000000000000000
0.05u 0.05s 0:00.16 62.5%
================================================== ====================
A total of 0.1 second between user and system time, and 0:00.16
seconds wall clock time (with the system doing other things at the same
time.)

307 digits, which makes your 3.2574E+306 pretty close, but it is
missing a lot of digits for true precision.

Do you have a way to do it in multi-precision integer math?

Enjoy,
DoN.
--
Email: | Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---