home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 5,106 of 5,127   
   Steven G. Kargl to Radey Shouman   
   Re: "Internationalis(z)ing Code - Comput   
   06 Feb 26 21:41:07   
   
   From: sgk@REMOVEtroutmask.apl.washington.edu   
      
   On Fri, 06 Feb 2026 11:29:27 -0500, Radey Shouman wrote:   
      
   > "Steven G. Kargl"  writes:   
   >   
   >> On Thu, 05 Feb 2026 21:07:23 +0200, Michael S wrote:   
   >>   
   >>>   
   >>> Not that I understood all incantations, but I guess that above code   
   >>> demonstrates that in New Fortran array indices are no longer limited to   
   >>> 2**31.   
   >>> Good to know.   
   >>   
   >> Technically, no Fortran standard limited the range of indicies to 2**31.   
   >> Going back to Fortran 66, an array index has a type of integer, and in   
   >> F66 there is only one integer kind.  The range of the integer is not   
   >> specified in the standard.  The integer type could be a signed 16-bit,   
   >> 32-bit, 48-bit, etc entity.  The Fortran standard does not specify   
   >> implementation detail.   
   >   
   > The size of the integer type was specified to be the same as the size of   
   > the real type.  The real type need not be 32-bit floating point, but   
   > that is certainly the way to bet.   
      
   Yes, Fortran has storage association rules.  A default integer kind   
   and default real kind occupy one numeric storage unit.  The standard   
   does not mandate that ever last bit of a storage unit need be used.   
   In ancient times, there were systems based on a 48- and 60-bit word   
   size (see CDC for examples), and yes, today 32-bit is common.   
      
   --   
   steve   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca