Hacker News new | past | comments | ask | show | jobs | submit login

Oh, what an awkward blunder. I know two's complement (that is why I talked about the degenerate case of minvalue). Why did I think this would work?



Maybe you were temporarily confused because the MSB is sufficient to test for negativity?




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: