ref: 21d0ffbbf001fd209208e33503890ad6847105db 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); }