Linaro Git Browser
Code Review
Sign In
review.linaro.org
/
lite
/
micropython
/
ffc96a901a13f6f114368ad50a1d7189c0826822
/
.
/
tests
/
float
/
float2int.py
blob: ca2914c01a9b31b9b4c73866b7783454b4f8a38c [
file
] [
log
] [
blame
]
# 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)