diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-04-12 00:36:00 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-12 13:06:20 +0100 |
commit | b21786947fabbdef76824d899263bec51779738b (patch) | |
tree | 4679c40d889d73e2837a4f13cabed5cdfaf5ed5a /py/modcmath.c | |
parent | 8b7faa31e1a98fd582db7021152fa25da69635e0 (diff) | |
download | micropython-b21786947fabbdef76824d899263bec51779738b.tar.gz micropython-b21786947fabbdef76824d899263bec51779738b.zip |
py/formatfloat.c: Fix format of floating point numbers near 1.0.
In particular, numbers which are less than 1.0 but which
round up to 1.0.
This also makes those numbers which round up to 1.0 to
print with e+00 rather than e-00 for those formats which
print exponents.
Addresses issue #1178.
Diffstat (limited to 'py/modcmath.c')
0 files changed, 0 insertions, 0 deletions