🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #228

Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays)

#228
From: Raul Deluth Miller-Rockwell
Date: Thu, 16 Apr 1992 02:43
15 lines
1549 bytes
Stephen P Spackman:
   Obviously, I meant 32767 (that or I meant max). The point is that
   the maximum for the representation and the maximum for the type are
   different notions, and that in any case (no matter what IEEE may
   tell you) "infinity" is not an integer and it's not a float. It's a
   domain extension, and you shouldn't have to rely on them in order
   to code up simple notions like min and max.

So use the maximum for the type.

If you wish to exclude certain representations, there will still be a
maximum element among the representations you allow.

-- 
Raul Deluth Miller-Rockwell                   <rockwell@socrates.umd.edu>
Technical Details
Message-ID: <ROCKWELL.92Apr15214305@socrates.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwell
References: <ROCKWELL.92Mar21001252@socrates.umd.edu> <STEPHEN.92Apr11043808@estragon.uchicago.edu> <1992Apr13.194947.17250@newshost.lanl.gov> <STEPHEN.92Apr14171919@estragon.uchicago.edu> <ROCKWELL.92Apr15002308@socrates.umd.edu> <STEPHEN.92Apr15014148@estragon <ROCKWELL.92Apr15094037@socrates.umd.edu> <STEPHEN.92Apr15094139@estragon.uchicago.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwell
From: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell)
Subject: Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays)
In-Reply-To: stephen@estragon.uchicago.edu's message of Wed, 15 Apr 1992 14:41:29 GMT
Message-ID: <ROCKWELL.92Apr15214305@socrates.umd.edu>
Sender: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell)
Organization: Traveller
References: <ROCKWELL.92Mar21001252@socrates.umd.edu>
 <STEPHEN.92Apr11043808@estragon.uchicago.edu>
 <1992Apr13.194947.17250@newshost.lanl.gov>
 <STEPHEN.92Apr14171919@estragon.uchicago.edu>
 <ROCKWELL.92Apr15002308@socrates.umd.edu>
 <STEPHEN.92Apr15014148@estragon
 <ROCKWELL.92Apr15094037@socrates.umd.edu>
 <STEPHEN.92Apr15094139@estragon.uchicago.edu>
Date: Thu, 16 Apr 1992 02:43:05 GMT
Lines: 15