summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/float2int.py
blob: ca2914c01a9b31b9b4c73866b7783454b4f8a38c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# This case occurs with time.time() values
print(int(1418774543.))

# TODO: General case with large exponent
#print(int(2.**100))

print("%d" % 1418774543.)

# TODO: General case with large exponent
#print("%d" % 2.**100)