Avoid some floating-point exceptions that don't actually matter anyway