1# test the math functions that return ints, with very large results 2 3try: 4 import math 5except ImportError: 6 print("SKIP") 7 raise SystemExit 8 9for fun in (math.ceil, math.floor, math.trunc): 10 for x in (-1e25, 1e25): 11 print("%.3g" % fun(x)) 12