3 ms·
Nobody is talking about exceptions. We're talking about intentionally invoking undefined behavior. You don't use trap representations to handle potential overf
by torstenvl 3y ago
Nobody is talking about exceptions. We're talking about intentionally invoking undefined behavior.
You don't use trap representations to handle potential overflows. You check for possible overflow prior to the operation, and then handle appropriately.