🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12851

Floating-point bench tests

#12851
From: RHBNC
Date: Tue, 16 May 1989 21:02
13 lines
1051 bytes
There has been a lot of discussion about the speed of floating-point
calculations, but I havent seen any mention of accuracy. Suppose you 
have two routines, both called  "sin":

1:  sin(x) as accurately as the hardware allows,
2:  sin(x) with error about 100 x the error of 1.

I would expect 2 to run about twice as fast as 1, besides being easier to
program. But CPU time is cheap and wrong answers can be very expensive.

I maintain that any worth-while bench test must check the accuracy of the
results as well as speed. 
mark.
Technical Details
Message-ID: <8905091926.AA20047@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: damerell@nsfnet-relay.ac.uk (RHBNC)
Newsgroups: comp.sys.sun
Subject: Floating-point bench tests
Keywords: Software
Message-ID: <8905091926.AA20047@rice.edu>
Date: 16 May 89 21:02:48 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 13
Approved: Sun-Spots@rice.edu
Original-Date: Tue, 9 May 89 11:48:14 BST
X-Sun-Spots-Digest: Volume 7, Issue 289, message 7 of 18