Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You inspired me to check what .NET does in that situation.

It throws an OverflowException: ("Negating the minimum value of a twos complement number is invalid.")



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

Search: