aboutsummaryrefslogtreecommitdiff
path: root/py/formatfloat.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-10 13:27:02 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-10 13:27:02 +0000
commit8bfec2b53822e2b62c4577b32e0beae398a16297 (patch)
tree3116ca2b8fdad7c1d3b1221d658f9eea7a6575a3 /py/formatfloat.h
parent0a8458c353b60420f17050d819912df9b168d0cb (diff)
Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h.
MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL is set to a non-zero value.
Diffstat (limited to 'py/formatfloat.h')
-rw-r--r--py/formatfloat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/formatfloat.h b/py/formatfloat.h
new file mode 100644
index 000000000..4c2c30e53
--- /dev/null
+++ b/py/formatfloat.h
@@ -0,0 +1 @@
+int format_float(float f, char *buf, size_t bufSize, char fmt, int prec, char sign);