From f04329e93b7bfa5462f232832d64aac3dc52d5db Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 18 Dec 2014 14:44:02 +0000 Subject: lib/libm: Add acosh, asinh, atanh, tan; get working with stmhal. acoshf, asinhf, atanhf were added from musl. mathsincos.c was split up into its original, separate files (from newlibe-nano-2). tan was added. All of the important missing float functions are now implemented, and pyboard now passes tests/float/math_fun.py (finally!). --- lib/libm/math.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/libm/math.c') diff --git a/lib/libm/math.c b/lib/libm/math.c index 623bedb3de..ed3635e53b 100644 --- a/lib/libm/math.c +++ b/lib/libm/math.c @@ -113,10 +113,6 @@ float log10f(float x) { return logf(x) / (float)_M_LN10; } float tanhf(float x) { return sinhf(x) / coshf(x); } // TODO we need import these functions from some library (eg musl or newlib) -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 tgammaf(float x) { return 0.0; } float lgammaf(float x) { return 0.0; } float erff(float x) { return 0.0; } -- cgit v1.2.3