home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!wupost!gumby!yale!cs.yale.edu!news
- From: dave@doctor.chem.yale.edu (David Maxwell)
- Subject: Numerical errors with xcalc?
- Message-ID: <1992Aug18.043858.18153@cs.yale.edu>
- Sender: news@cs.yale.edu (Usenet News)
- Nntp-Posting-Host: doctor.chem.yale.edu
- Organization: Laboratory for Computational Chemistry, Yale University
- Distribution: usa
- Date: Tue, 18 Aug 1992 04:38:58 GMT
- Lines: 28
-
- Hello folks,
-
- This may be better answer for another group, but I don't know which one.
- Anyhow, I was wondering why xcalc stores numbers with only 5 decimal
- places valid. I was doing the following calculation in rpn mode :
-
- 1) I entered and stored the value 154.5157925 in STO 1
- 3) I cleared the display
- 4) I recalled RCL 1 (it shows 154.51579)
- 5) Had to press "enter" even though in normal HP's you don't
- 3) I entered 154.5129008 and pressed "-"
- 4) Shows "0.0028892" as result
-
- If the same calculation is done :
-
- 1) Enter 154.5157925
- 2) Enter 154.5129008, and press "-"
- 3) Shows "0.0028917" as result
-
- I checked the result with an HP-11C and it gives "0.0028917", the same
- as the later via xcalc.
-
- Is there any way to get better precision out of xcalc?
-
- BTW, I realize that I probably should use bc, but I would much rather use
- a nice graphical calculator instead.
-
- Dave Maxwell (dave@doctor.chem.yale.edu)
-