3 ms·
for ones that throw an exception for 1% of a unit computation, perhaps yes. But as has been noted, that's a lot of failures and exceptions may not be the appro
by PaulDavisThe1st 5y ago
for ones that throw an exception for 1% of a unit computation, perhaps yes.
But as has been noted, that's a lot of failures and exceptions may not be the appropriate mechanism to deal with this type of failure.
- ncmncm 5y agoIndeed, arithmetic errors are what NaN was invented for. It still works, and is fast.