mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
tests/float: Improve formatfloat.c test coverage using Python.
This commit is contained in:
@@ -42,3 +42,5 @@ print(('%.40g' % 1e-1)[:2])
|
||||
print(('%.40g' % 1e-2)[:2])
|
||||
print(('%.40g' % 1e-3)[:2])
|
||||
print(('%.40g' % 1e-4)[:2])
|
||||
|
||||
print("%.0g" % 1) # 0 precision 'g'
|
||||
|
||||
Reference in New Issue
Block a user