PythonExtra/tests/float/builtin_float_round_intbig.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
108 B
Python
Raw Normal View History

# test round() with floats that return large integers
for x in (-1e25, 1e25):
print("%.3g" % round(x))