Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!njin!uupsi!sunic!ugle.unit.no!nuug!ifi!enag From: enag@ifi.uio.no (Erik Naggum) Newsgroups: comp.lang.c Subject: Re: what is this supposed to do? Message-ID: Date: 27 Apr 91 12:34:46 GMT References: <1991Apr22.225641.1122@midway.uchicago.edu> <1991Apr23.003314.5194@zoo.toronto.edu> <1991Apr25.153729.2360@athena.mit.edu> Sender: enag@ifi.uio.no (Erik Naggum) Organization: Naggum Software, Oslo, Norway Lines: 13 In-Reply-To: jfc@athena.mit.edu's message of 25 Apr 91 15: 37:29 GMT In article , Erik Naggum writes: (3) Some machines do something else when the shift operand is larger than the applicable word-size, such as laugh at you. In article <1991Apr25.153729.2360@athena.mit.edu>, John F Carr writes: Which machines and compilers make (1 << wordsize) neither 1 nor 0? Alternative three was added for the sake of completeness. I don't know of any, but it's conceivable that this is an overflow condition. -- [Erik Naggum] Naggum Software, Oslo, Norway