Removing undefined behavior of bitshifts

Vladimir Panteleev vladimir at thecybershadow.net
Mon Jun 6 20:28:36 PDT 2011


On Tue, 07 Jun 2011 02:20:17 +0300, Timon Gehr <timon.gehr at gmx.ch> wrote:

> Currently, the behavior of a shift by more than the size in bytes of the
> operand is undefined. (Well,  it's an 'error', but unchecked.)

Also see http://d.puremagic.com/issues/show_bug.cgi?id=4887

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list