Article View: comp.sources.d
Article #2098Re: Suggestions needed for new version of Calctool.
From: roy
Date: Wed, 10 Dec 1986 03:33
Date: Wed, 10 Dec 1986 03:33
17 lines
1364 bytes
1364 bytes
I think I've found a bug in calctool, as posted to the net a little
while back. If you take the square root of a negative number, you get
"NaN" (Not a Number; should really be NaRN :-)). On the other hand, if you
try to divide by zero, you get "Error". Seems to me you should either get
"NaN" or "Error" both time. What do you math types think?
BTW, taking the square root of a negative number isn't easy, since
there isn't and +/- key. Have to do "0 - 1 srt". This minor problem
notwithstanding, I think calctool is pretty nifty and have put it in my
root menu.
--
Roy Smith, {allegra,cmcl2,philabs}!phri!roy
System Administrator, Public Health Research Institute
455 First Avenue, New York, NY 10016
"you can't spell deoxyribonucleic without unix!"
Technical Details
Message-ID:
<2528@phri.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!codas!peora!pesnta!phri!royReferences:
<84@yarra.OZ>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!codas!peora!pesnta!phri!roy From: roy@phri.UUCP Newsgroups: comp.sources.d Subject: Re: Suggestions needed for new version of Calctool. Message-ID: <2528@phri.UUCP> Date: Tue, 9-Dec-86 22:33:02 EST Article-I.D.: phri.2528 Posted: Tue Dec 9 22:33:02 1986 Date-Received: Sun, 14-Dec-86 06:46:38 EST References: <84@yarra.OZ> Reply-To: roy@phri.UUCP (Roy Smith) Organization: Public Health Research Inst. (NY, NY) Lines: 17 Keywords: SUN desktop calculator. Summary: Bug in Calctool