Nicer conditionals in the Math functions