summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-29 23:24:00 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-29 23:24:00 +0100
commit4d3fc4632681576eed8235f8b90b49a032c80218 (patch)
tree13b78f84033b66c563781601acd026ef65cf73d4
parent8707ea34218a0aae071d4fb8d25e23273c828ea1 (diff)
downloadmicropython-4d3fc4632681576eed8235f8b90b49a032c80218.tar.gz
micropython-4d3fc4632681576eed8235f8b90b49a032c80218.zip
lib, libm: Add back dummy definition of tanf.
-rw-r--r--lib/libm/math.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libm/math.c b/lib/libm/math.c
index 8433081b97..23218fe56b 100644
--- a/lib/libm/math.c
+++ b/lib/libm/math.c
@@ -116,6 +116,7 @@ float tanhf(float x) { return sinhf(x) / coshf(x); }
float acoshf(float x) { return 0.0; }
float asinhf(float x) { return 0.0; }
float atanhf(float x) { return 0.0; }
+float tanf(float x) { return 0.0; }
float acosf(float x) { return 0.0; }
float asinf(float x) { return 0.0; }
float fmodf(float x, float y) { return 0.0; }