isNAorNaN in double comparison