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,499 of 2,753    |
|    Martin Ward to David Brown    |
|    Re: Optimization techniques    |
|    26 Apr 19 20:10:10    |
      From: martin@gkc.org.uk              On 23/04/19 08:43, David Brown wrote:       > But mathematical identities such as associativity and commutativity are       > valid because signed integer overflow does not happen - thus "a * (b +       > c)" can be changed to "(a * b) + (a * c)".              If b is large and c has a value close to -b then a * (b + c)       might be OK while (a * b) will overflow and cause undefined       behaviour.              --        Martin              Dr Martin Ward | Email: martin@gkc.org.uk | http://www.gkc.org.uk       G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4              --- 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