Comment by Mond_
2 months ago
How about just panic? If a wrap happens and you don't expect it, it's almost always a severe bug.
Then, dedicated APIs for wrapping behavior where you expect it to happen.
2 months ago
How about just panic? If a wrap happens and you don't expect it, it's almost always a severe bug.
Then, dedicated APIs for wrapping behavior where you expect it to happen.
Because it adds 4-6x overhead to all integer arithmetic