home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12595 < prev    next >
Encoding:
Text File  |  1992-08-20  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!curt
  3. From: curt@watson.ibm.com (Curt McDowell)
  4. Subject: Re: POWER OF LARGE NUMBERS
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <1992Aug20.225714.5172@watson.ibm.com>
  7. Date: Thu, 20 Aug 1992 22:57:14 GMT
  8. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  9. References: <1992Aug12.135106.12924@cs.uow.edu.au>     <thompson.713734408@daphne.socsci.umn.edu>     <1992Aug16.052157.1991@organpipe.uug.arizona.edu>     <1992Aug17.222948.10070@merlin.dev.cdx.mot.com> <CGAY.92Aug17223208@majestix.cs.uoregon.edu> <thompson.714156001@daphne.socsci.umn.edu>
  10. Nntp-Posting-Host: gorby.watson.ibm.com
  11. Organization: IBM T.J. Watson Research Center
  12. Lines: 33
  13.  
  14. In article <thompson.714156001@daphne.socsci.umn.edu>, thompson@atlas.socsci.umn.edu (T. Scott Thompson) writes:
  15. > cgay@majestix.cs.uoregon.edu (Carl L. Gay) writes:
  16. > >? (time (expt (expt 6 6) 6))
  17. > >(EXPT (EXPT 6 6) 6) took 34 milliseconds (0.034 seconds) to run.
  18. > > 56 bytes of memory allocated.
  19. > >10314424798490535546171949056
  20. > >? (time (expt 6 (expt 6 6)))
  21. > >(EXPT 6 (EXPT 6 6)) took 32290 milliseconds (32.290 seconds) to run.
  22. > >Of that, 120 milliseconds (0.120 seconds) were spent in The Cooperative Multitasking Experience.
  23. > > 30464 bytes of memory allocated.
  24. > >265...36300 digits removed...656
  25. > >Just provided for your amusement...
  26. > Alright!  Who volunteers for 7 ^ (7 ^ 7)?
  27. >                                 ...
  28. >                              10 ^ (10 ^ 10) ?
  29. > P.S.  Mathematica 2.1 on a Sparc 2 does 6 ^ (6 ^ 6) in 5.02 CPU seconds.
  30.  
  31. GNU Calc on a Sparc 1 does it in 3.25 real seconds... and then
  32. takes 2 minutes 58 seconds to print the answer.
  33.  
  34. It does 7 ^ (7 ^ 7) in 12 minutes 24 seconds, yielding...
  35.     375 ...(695969 digits deleted)... 343
  36.  
  37. To print the answer to that one takes 17 hours 2 minutes!
  38. I guess that part of their package could use some work.  :-/
  39.  
  40. --
  41. Curt McDowell
  42. IBM T. J. Watson Research Center
  43.