Scala has `Double#isNaN`