12033df511
This fixes conversion when float type has more mantissa bits than small int, and float value has small exponent. This is for example the case of 32-bit platform using doubles, and converting value of time.time(). Conversion of floats with larg exponnet is still not handled correctly. |
||
---|---|---|
.. | ||
basics | ||
bench | ||
bytecode | ||
extmod | ||
float | ||
import | ||
inlineasm | ||
io | ||
micropython | ||
misc | ||
pyb | ||
pybnative | ||
unicode | ||
unix | ||
pyboard.py | ||
README | ||
run-bench-tests | ||
run-tests | ||
run-tests-exp.py | ||
run-tests-exp.sh |
This directory contains tests for various functionality areas of MicroPython. To run all stable tests, run "run-tests" script in this directory. Note that bytecode tests are not yet stable and should be run separately in "bytecode" subdirectory. When creating new tests, anything that relies on float support should go in the float/ subdirectory. Anything that relies on import x, where x is not a built-in module, should go in the import/ subdirectory.