diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-18 14:44:02 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-18 14:44:02 +0000 |
commit | f04329e93b7bfa5462f232832d64aac3dc52d5db (patch) | |
tree | 96b06142670e0bb1ddfddcd353872f4612954bf8 /lib/libm/math.c | |
parent | 6936f4626c8748c077ad2c63827d4deeb43b867d (diff) | |
download | micropython-f04329e93b7bfa5462f232832d64aac3dc52d5db.tar.gz micropython-f04329e93b7bfa5462f232832d64aac3dc52d5db.zip |
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!).
Diffstat (limited to 'lib/libm/math.c')
-rw-r--r-- | lib/libm/math.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; } |