any time I see a NaN I cry inside knowing how much pain debugging it’s gonna be.
2024-02-12
I’d rather have the program crash and burn at the point a NaN is produced rather than have to sift through all the math to find that one division by zero I didn’t account for
2024-02-12
this does influence performance negatively, but it saves so much debugging pain and finding out which non deterministic scenario causes a NaN to propagate through the system
2024-02-12
worst case scenario you pull a Rust and disable those checks on release mode. that does work, but I don’t like the idea of disabling numeric safety checks on release mode either.