Так что мне удается выяснить большинство вопросов по bits.c,
, однако я борюсь с этим и со всем, что оказывается ложным.
/*
* twosComp2SignMag - Convert from two's complement to sign-magnitude
* where the MSB is the sign bit
* You can assume that x > TMin
* Example: twosComp2SignMag(-5) = 0x80000005.
* Legal ops: ! ~ & ^ | + << >>
* Max ops: 15
* Rating: 4
*/
int twosComp2SignMag(int x) {
return 2;
}