diff options
author | Damien George <damien.p.george@gmail.com> | 2018-03-01 17:00:02 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-03-01 17:00:02 +1100 |
commit | 955ee6477f4b1d3a70bfe97a1e7727848bf2d06d (patch) | |
tree | 195d1942743e669f25c77874e1bf69bf49ab6781 /tests/micropython/heap_lock.py | |
parent | 7b050fa76c6a763043739d40c82dde839d7f8fd9 (diff) |
py/formatfloat: Fix case where floats could render with negative digits.
Prior to this patch, some architectures (eg unix x86) could render floats
with "negative" digits, like ")". For example, '%.23e' % 1e-80 would come
out as "1.0000000000000000/)/(,*0e-80". This patch fixes the known cases.
Diffstat (limited to 'tests/micropython/heap_lock.py')
0 files changed, 0 insertions, 0 deletions