what is this supposed to do?

Erik Naggum enag at ifi.uio.no
Sat Apr 27 22:34:46 AEST 1991


In article <ENAG.91Apr24181029 at maud.ifi.uio.no>, 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 at 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]					     <enag at ifi.uio.no>
Naggum Software, Oslo, Norway			   <erik at naggum.uu.no>



More information about the Comp.lang.c mailing list