should min(0.0, NaN) be NaN? · Issue #7866 · JuliaLang/julia
I know this has come up before and we opted to go with Matlab's behavior, but it strikes me that NaN poisoning really might be safer. After all a NaN could be larger or smaller than any value.
GitHub