[Issue 5812] Power expression optimisation: constant fold (x^^0) = 1

2011-04-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5812 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 5812] Power expression optimisation: constant fold (x^^0) = 1

2011-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5812 Iain Buclaw changed: What|Removed |Added Attachment #937 is|0 |1 obsolete|

[Issue 5812] Power expression optimisation: constant fold (x^^0) = 1

2011-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5812 --- Comment #2 from Iain Buclaw 2011-04-05 16:00:43 PDT --- Created an attachment (id=937) implement noted foldable code in this report -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving th

[Issue 5812] Power expression optimisation: constant fold (x^^0) = 1

2011-04-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5812 --- Comment #1 from Iain Buclaw 2011-04-04 11:32:56 PDT --- You can also optimize: x^^1 => (x) x^^-1 => (1/x) And that will remove two other scenarios from requiring std.math to compute the result. Regards -- Configure issuemail: http:/