🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #6530

Re: Precision of floating point multiply

#6530
From: Robert Myers
Date: Mon, 29 Sep 2003 02:55
33 lines
3084 bytes
On Sat, 27 Sep 2003 00:17:13 GMT, "Glen Herrmannsfeldt"
<gah@ugcs.caltech.edu> wrote:

<snip>
>
>PL/I has the MULTIPLY function where one can specify the desired result
>precision.  At least one compiler I know of expands both operands before
>doing a double precision multiply when double precision is desired.
>
>If someone wanted to comment about other hardware or compilers in use in the
>1960's and 1970's, that might also be useful.
>

When I took numerical methods as a graduate student (mid-seventies), I
knew only PL/I and 360 Assembler.  Everybody was running on IBM 360
(or whatever the model was at the time).  My classmates, who all used
Fortran IV (while I was coding in PL/I), invariably got different
answers (in the least significant digits) doing the same problem on
the same machine.  Since I was not majoring in computer science,
neither the professor nor I had the competence or the interest to
explore the details, although I might take a different attitude today.

I got my thesis written without ever learning Fortran, but my
graduation into the world of employment put an end to my dogged
loyalty to PL/I, a language I still miss.

I'd like to propose the eccentric view that having little oddities of
floating point arithmetic floating around isn't necessarily a bad
thing.  A rigidly enforced monoculture of floating point arithmetic
could mask problems that otherwise might surface in a slightly less
precise world.

RM
Technical Details
Message-ID: <iu6fnvch0g09q9f335tt89ogfcj5jm2ovh@4ax.com>
Path: arc1-ca.pugleaf.net!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <dG4db.598668$uu5.97984@sccrnsc04>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd4af,7830916812112af0
X-Google-Attributes: gidfd4af,public
X-Google-Thread: fd705,7830916812112af0
X-Google-Attributes: gidfd705,public
X-Google-Thread: 1094ba,7830916812112af0
X-Google-Attributes: gid1094ba,public
X-Google-Thread: 102b75,7830916812112af0
X-Google-Attributes: gid102b75,public
X-Google-ArrivalTime: 2003-09-28 19:55:58 PST
Path: arc1-ca.pugleaf.net!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 28 Sep 2003 21:55:57 -0500
From: Robert Myers <rmyers@rustuck.com>
Newsgroups: comp.lang.fortran,comp.arch,bit.listserv.ibm-main,alt.folklore.computers
Subject: Re: Precision of floating point multiply
Date: Sun, 28 Sep 2003 22:55:58 -0400
Message-ID: <iu6fnvch0g09q9f335tt89ogfcj5jm2ovh@4ax.com>
References: <dG4db.598668$uu5.97984@sccrnsc04>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 33
X-Trace: sv3-TrRBtbqmrvPfTmEMpv9ebojisceBKkmy1cNV5V2deZkitvq1tCpWQvDyPEmzF6d1s2DyC0AmN/52Ij4!98XkzP34irAoKAm1Z0392UUusgtPiWMoZGVDBPuSkOQNL65tFZWpYK9IQFmg1YsvJ4k=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1