simon <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #3 from simon <> 2010-11-15 14:29:19 PST 
Mr Bs test case is wrong:

static assert((cast(short)-1 >>> 1) == int.max);

should be:

static assert((cast(short)-1 >>> 1) == short.max);

unsigned right shift is perfectly well defined,
though giving it it's own operator seems like overkill.

I think it would be better as a function in std.intrinsic.

You aren't going to use unsigned shift unless you know what you doing and care
about performance.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to