diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-22 15:42:09 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-22 17:54:05 +0200 |
commit | 9aaccd4735d60798963212d72989a9b9d852fc6d (patch) | |
tree | fe152001fb986252b64989ae50ea8e84c2bb1ed6 /tests/float/string_format.py | |
parent | 1818da2ef3decbbed57b513480131853a3f2dadc (diff) | |
download | micropython-9aaccd4735d60798963212d72989a9b9d852fc6d.tar.gz micropython-9aaccd4735d60798963212d72989a9b9d852fc6d.zip |
py/formatfloat: Convert to fully portable implementation.
This takes previous IEEE-754 single precision float implementation, and
converts it to fully portable parametrizable implementation using C99
functions like signbit(), isnan(), isinf(). As long as those functions
are available (they can be defined in adhoc manner of course), and
compiler can perform standard arithmetic and comparison operations on a
float type, this implementation will work with any underlying float type
(including types whose mantissa is larger than available intergral integer
type).
Diffstat (limited to 'tests/float/string_format.py')
0 files changed, 0 insertions, 0 deletions