, , , , .
-, unsigned , , , . 20 , . unsigned , ( ..) . , , , : " , ".
, x unsigned - , , - x , .
"" , , , x. , a int 32 . a unsigned int . , x 2 ^ 31-1 ( ), x , .. :
int y = (int)x;
x = (unsigned)y;
long, , unsigned, x unsigned, :
long y = (long)x;
x = (unsigned)y;
, x (, x=(unsigned)y; ), , y . , , unsigned x , - :
long y = (long)x;
assert( y >= 0L );
x = (unsigned)y;
, , , , , , , .