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,498 of 2,753   
   Derek M. Jones to Hans-Peter Diettrich   
   Re: Optimization techniques   
   26 Apr 19 13:39:58   
   
   From: derek@_NOSPAM_knosof.co.uk   
      
   All,   
      
   On 19/04/2019 23:27, Hans-Peter Diettrich wrote:   
   > I'm always a bit sceptic when C/C++ and "safe" occur in the same   
   > sentence. AFAIR a C compiler is allowed to ignore parentheses when   
   > reordering expressions, what can lead to numeric instabilities.   
      
   Not true:   
   "In the abstract machine, all expressions are evaluated as specified by   
   the semantics. "   
      
   https://c0x.coding-guidelines.com/5.1.2.3.html   
      
   --   
   Derek M. Jones   
   blog:shape-of-code.coding-guidelines.com   
   [Keeping in mind the "as if" rule which lets the compiler do whatever   
   it wants so long as the result is the same. -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