Hacker News new | ask | show | jobs
by eterm 453 days ago
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.")