27 Commits (6db5cede06dfb580c5e4f6cdeb1796256969b4fb)

Author SHA1 Message Date
Damien George 955ee6477f py/formatfloat: Fix case where floats could render with negative digits. 7 years ago
Damien George 7b050fa76c py/formatfloat: Fix case where floats could render with a ":" character. 7 years ago
Damien George bc12eca461 py/formatfloat: Fix rounding of %f format with edge-case FP values. 7 years ago
Damien George dc948e4d54 py/formatfloat: Use standard isinf, isnan funcs instead of custom ones. 7 years ago
Damien George 08a196697c py/formatfloat: Don't print the negative sign of a NaN value. 7 years ago
Damien George f5309fc4ff py/formatfloat: Don't post-increment variable that won't be used again. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 7 years ago
Tom Collins 145796f037 py,extmod: Some casts and minor refactors to quiet compiler warnings. 7 years ago
Damien George 6ed4581f54 py/formatfloat: Fix number of digits and exponent sign when rounding. 8 years ago
Damien George 94a587a750 py/formatfloat: Remove unreachable code. 8 years ago
Damien George e1e7657277 py/formatfloat: Fix further cases of buffer overflow in formatting. 9 years ago
Damien George 03b8bb7ec9 py/formatfloat: Fix case of float format where leading digit was "10". 9 years ago
Damien George cea6cf8a5e py/formatfloat: Fix buffer overflow when formatting tiny numbers. 9 years ago
Damien George 7417ccfb0d py/formatfloat: Add ability to format doubles with exponents > 99. 9 years ago
Paul Sokolovsky 3d6240ba1b py/formatfloat: Handle calculation of integer digit for %f format properly. 9 years ago
Paul Sokolovsky 3c4c069802 py/formatfloat: Workaround (fix?) incorrect rounding for %f format. 9 years ago
Paul Sokolovsky 9aaccd4735 py/formatfloat: Convert to fully portable implementation. 9 years ago
Dave Hylands 9d6128acdc stmhal: fix single precision float printing error 9 years ago
stijn 861670ba2a py: Implement mp_format_float for doubles and use where appropriate 10 years ago
Dave Hylands b21786947f py/formatfloat.c: Fix format of floating point numbers near 1.0. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky e3737b858a formatfloat.c: Typo fix in comment. 10 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Dave Hylands baf6f14deb Enhance str.format support 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 8bfec2b538 Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. 11 years ago
Dave Hylands ca5a241e48 Add proper floating point printing support. 11 years ago