[Issue 2915] [Patch]: Optimize -a*-b into a*b

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 30 00:11:38 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2915





------- Comment #1 from clugdbug at yahoo.com.au  2009-04-30 02:11 -------
Created an attachment (id=343)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=343&action=view)
Patch against DMD2.029

Applies to integer, real, complex and imaginary types. Causes no FP problems
because change of sign is an exact operation (no rounding ever occurs).


-- 



More information about the Digitalmars-d-bugs mailing list