home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / math / symbolic / 3398 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.3 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!dlj0
  2. From: dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON)
  3. Newsgroups: sci.math.symbolic
  4. Subject: Re: mma big bad bug
  5. Message-ID: <1993Jan7.201357.33077@ns1.cc.lehigh.edu>
  6. Date: 7 Jan 93 20:13:57 GMT
  7. Organization: Lehigh University
  8. Lines: 32
  9.  
  10. >I tried out the bug and it worked fine. The problem is that if you
  11. >do not use a period at the end of the numericals it goes into an 
  12. >infinite loop. Hope this helps.
  13. >
  14. >
  15. >In[3]:= bug = Pi*Sqrt[Pi]/(2.*3.*Sqrt[2.])
  16. >
  17. >Out[3]= 0.1178511301977579*Pi^(3/2)
  18. >
  19. >In[4]:= CloseLog[]
  20. >
  21. >
  22. >Sridhar
  23. >
  24. Your ``solution'' rather begs the question, doesn't it, since the periods force
  25. Mma into floating-point calculations.  The problem is with its *exact* 
  26. arithmetic.
  27.  
  28. I still don't see how the explanations provided so far make sense, since 
  29. removing the 3 from the denominator eliminates the problem.
  30.  
  31. Sorry to have responded, again, to this endless discussion.  Does anyone have
  32. a real solution, or explanation?
  33.  
  34. -- 
  35. Sincerely,
  36.  
  37. David L. Johnson                    ID:  dlj0@lehigh.edu
  38. Christmas-Saucon Hall #14, rm 241        dlj0@chern.math.lehigh.edu
  39. Department of Mathematics
  40.  
  41. Lehigh University                   Telephone: 215-758-3759 (office)
  42.