diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-18 21:12:52 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-18 21:21:59 +0300 |
commit | 7de5377ca7eeb7828031f83be417cda3a188069b (patch) | |
tree | d4a9583637c1e4edcfa13c1d7865ab8e204c2b13 /tests/basics/tuple_compare.py | |
parent | 599bbc111cbd83329e9418cefd1ed62ca2ed984c (diff) | |
download | micropython-7de5377ca7eeb7828031f83be417cda3a188069b.tar.gz micropython-7de5377ca7eeb7828031f83be417cda3a188069b.zip |
objfloat: Try to achieve the same float printing format as CPython does.
Test usecase I used is print(time.time()) and print(time.time() - time.time()).
On Linux/Glibc they now give the same output as CPython 3.3. Specifically,
time.time() gives non-exponential output with 7 decimal digits, and subtraction
gives exponential output e-06/e-07.
Diffstat (limited to 'tests/basics/tuple_compare.py')
0 files changed, 0 insertions, 0 deletions