Optimizing isActualNaN