23 Commits (08a196697c5dfb8cbe3b3e85c1c5f94e3a27804c)

Author SHA1 Message Date
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