News for hackers. Stuff that matters.
Re:Thoughts on Rust, a few thousand lines in by IshKebab on Wednesday January 09, 2019 @05:21PM (#18869587)
To me this feels quite pedantic. Being able to do less than on NaNs and just having it do something vaguely sensible (as in your linked solution) is a far more common requirement than need to handle NaNs specially.

You could even say the reason NaN exists is so that you don't have to check for NaN constantly. Rust is being technically correct but practically really annoying, for basically no benefit.

Re:Thoughts on Rust, a few thousand lines in by steveklabnik on Wednesday January 09, 2019 @05:38PM (#18869736)
For what it's worth, many in the Rust community agree with you. Many people consider this a mistake, in hindsight, though not everyone.