Movement against float.init being nan
bauss
jacobbauss at gmail.com
Fri Aug 26 06:13:58 UTC 2022
On Friday, 26 August 2022 at 00:14:49 UTC, ryuukk_ wrote:
> On Thursday, 25 August 2022 at 03:08:54 UTC, Steven
> Schveighoffer wrote:
>> A better option would be to throw an exception if NaN is used
>> in an operation.
>
>
> How to kill a language, put exceptions everywhere, specially in
> math operations
>
> https://pspdfkit.com/blog/2020/performance-overhead-of-exceptions-in-cpp/
>
> I hope you were joking
That's why my response to it said it should be Error and not
Exception, your program is effectively dead if you ever operate
on NaN.
More information about the Digitalmars-d
mailing list