Article View: comp.lang.misc
Article #252Re: Fortran90 and Arrays
From: Stephen P Spackman
Date: Fri, 17 Apr 1992 08:36
Date: Fri, 17 Apr 1992 08:36
26 lines
2092 bytes
2092 bytes
In article <ROCKWELL.92Apr16202815@socrates.umd.edu> rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell) writes: |Robert Bernecky: | [Morgan Stanley and stock market crash, fall 1990]: | | Morgan's APL-based system not only didn't die (integers went to | | real instead of getting integer overflow death), but the system | | didn't fall behind, AND Morgan made a profit that day! | |Stephen P Spackman: | This is a practise that will LITERALLY send you to prison in most | countries. Financial calculations MUST be performed to 100ths of a | cent (or whatever local law prescribes) and must NOT be rounded | except as permitted by law. | |Eh? Why would the numbers be rounded? Because floating point numbers buy exponent at the expense of the mantissa. It's sort of the idea.... As soon as you kick over into float, 8 or 16 lsb's go away. So suddenly you are computing in units of whole dollars. And then, every time the number doubles again, away goes another bit at the bottom. I don't understand how we can possibly be disagreeing here. ---------------------------------------------------------------------- stephen p spackman Center for Information and Language Studies stephen@estragon.uchicago.edu University of Chicago ----------------------------------------------------------------------
Technical Details
Message-ID:
<STEPHEN.92Apr17033650@estragon.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!tira!stephenReferences:
<1992Apr11.172154.21417@yrloc.ipsa.reuter.COM> <sb9e0INNdbb@network.ucsd.edu> <1992Apr15.233338.3786@yrloc.ipsa.reuter.COM> <STEPHEN.92Apr16051241@estragon.uchicago.edu> <ROCKWELL.92Apr16202815@socrates.umd.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!tira!stephen From: stephen@estragon.uchicago.edu (Stephen P Spackman) Newsgroups: comp.lang.misc Subject: Re: Fortran90 and Arrays Message-ID: <STEPHEN.92Apr17033650@estragon.uchicago.edu> Date: 17 Apr 92 08:36:42 GMT References: <1992Apr11.172154.21417@yrloc.ipsa.reuter.COM> <sb9e0INNdbb@network.ucsd.edu> <1992Apr15.233338.3786@yrloc.ipsa.reuter.COM> <STEPHEN.92Apr16051241@estragon.uchicago.edu> <ROCKWELL.92Apr16202815@socrates.umd.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago CILS Lines: 26 In-Reply-To: rockwell@socrates.umd.edu's message of 17 Apr 92 01:28:15 GMT