Better check for numerical limits