Descent 0.5.4 released

Robert Fraser fraserofthenight at gmail.com
Tue Jan 27 17:14:28 PST 2009


Ary Borenszweig wrote:

> ---
> int foo(int x) {
>   return x * 2 * 2;
> }
> 
> int bar(int x) {
>   return 2 * 2 * x;
> }
> ---
> 
> is transformed to this:
> 
> ---
> int foo(int x) {
>   return x * 2 * 2;
> }
> 
> int bar(int x) {
>   return 4 * x;
> }
> ---

Those should be shifts.


More information about the Digitalmars-d-announce mailing list