home bbs files messages ]

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

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

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

   Message 2,683 of 2,753   
   Steven G. Kargl to All   
   Re: Undefined Behavior Optimizations in    
   26 Jan 23 21:12:12   
   
   From: sgk@REMOVEtroutmask.apl.washington.edu   
      
   On Mon, 23 Jan 2023 18:50:31 -0800, gah4 wrote:   
   >   
   > As far as I can tell, Fortran makes no claims regarding   
   > fixed point overflow, being undefined or system dependent.   
   >   
      
   It makes claims.  F2018 (18-007r1.pdf), p. 148.   
      
      The execution of any numeric operation whose result is   
      not defined by the arithmetic used by the processor is   
      prohibited.   
      
   If you want to go back to F66, one finds in Sec. 6.4,   
   "Evaluation of Experssions."   
      
      No element may be evaluated whose values is not   
      mathematically defined.   
      
   --   
   steve   
   [Like I said, IBM didn't promise that SSP would work anywhere else. -John]   
      
   --- 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