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