ref: 97f4b9b97c470501d25ac82cad771bdff75e9b59 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); }