mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
5 lines
108 B
Python
5 lines
108 B
Python
# test round() with floats that return large integers
|
|
|
|
for x in (-1e25, 1e25):
|
|
print('%.3g' % round(x))
|