Do not use NaN in comparisons
ProprietaryComparing with NaN using == always returns false. Use double.IsNaN(x) instead.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindNaNComparisonmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindNaNComparisonInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.