ref: 9a7852993c538212d5e14aa34c49ba7d990aca76 dir: /signed.c/
#include <u.h> #include <libc.h> void main() { int x; x = 25; print("n:%d,s:%d\n", x, (x>>31)); x *= -1; print("n:%d,s:%d\n", x, (x>>31)); exits(0); }