News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by PaulDavisThe1st on Tuesday February 22, 2022 @03:03PM (#30432930)
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.

Re:Current hardware trends make C++ exceptions harder to jus... by ncmncm on Wednesday February 23, 2022 @01:04AM (#30438172)
Indeed, arithmetic errors are what NaN was invented for. It still works, and is fast.