From baf6f14deb567ab626c1b05213af346108f41700 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Sun, 30 Mar 2014 21:06:50 -0700 Subject: Enhance str.format support This adds support for almost everything (the comma isn't currently supported). The "unspecified" type with floats also doesn't behave exactly like python. Tested under unix with float and double Spot tested on stmhal --- py/formatfloat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/formatfloat.c') diff --git a/py/formatfloat.c b/py/formatfloat.c index 83aee1ef74..b1c62fa6d5 100644 --- a/py/formatfloat.c +++ b/py/formatfloat.c @@ -14,6 +14,7 @@ ***********************************************************************/ #include +#include #include "mpconfig.h" -- cgit v1.2.3