7a6e09635a
See http://bugs.python.org/issue19995 for rationale. As micropython currently aims for Python 3.3 compatibility I have not changed behaviour, but this change allows the test suite to be run against a newer Python without having spurious failures.
14 lines
224 B
Python
14 lines
224 B
Python
print("%s" % 1.0)
|
|
print("%r" % 1.0)
|
|
|
|
print("%d" % 1.0)
|
|
print("%i" % 1.0)
|
|
print("%u" % 1.0)
|
|
|
|
print("%e" % 1.23456)
|
|
print("%E" % 1.23456)
|
|
print("%f" % 1.23456)
|
|
print("%F" % 1.23456)
|
|
print("%g" % 1.23456)
|
|
print("%G" % 1.23456)
|