🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11137

"exact" calculator

#11137
From: Hans Boehm
Date: Thu, 23 Feb 1989 14:44
23 lines
1411 bytes
I replaced the object version of the "exact" reals calculator in
titan.rice.edu:~ftp/sun-source/calc.shar.*  .  It is now divided into only
three pieces.  As before, it performs demand-driven calculation on the
reals, always insuring accurate results to whatever precision is displayed
on the screen.  Given the expression

		    ln((PI + e**(-500)) - PI)

it produces -500.  It still has a curses based user interface (functional
but not very pretty).  Changes include:

1. A number of glitches in the user interface were fixed.

2. A man page (largely contributed by R. P. C. Rodgers) is now included.
   A calculator icon is included.

3. Window resizes work under X as well as under Sunview.

4. Integer factorials and Solovay-Strassen primality testing were added.

5. It can be built under, and runs correctly under 4.0.  (It runs only on
   Sun 3s, but essentially no functionality is lost if it is run over the
   network.)
Technical Details
Message-ID: <8902150053.AA12919@titan.rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: boehm@Rice.edu (Hans Boehm)
Newsgroups: comp.sys.sun
Subject: "exact" calculator
Message-ID: <8902150053.AA12919@titan.rice.edu>
Date: 23 Feb 89 14:44:52 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 23
Approved: Sun-Spots@rice.edu
Original-Date: Tue, 14 Feb 89 18:53:11 CST
X-Sun-Spots-Digest: Volume 7, Issue 169, message 7 of 12