diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-22 20:44:43 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-22 20:44:43 +0000 |
commit | 8138205bea96afb6b59e3147fbaab754cb218ea2 (patch) | |
tree | 7a5a7bafd8837cd141ec61c9ef9975369468e137 /stmhal/math.c | |
parent | 62805873201d12c2a4fbb7ac89115a387b67b5bf (diff) | |
download | micropython-8138205bea96afb6b59e3147fbaab754cb218ea2.tar.gz micropython-8138205bea96afb6b59e3147fbaab754cb218ea2.zip |
stm/stmhal: Add more math stubs.
Diffstat (limited to 'stmhal/math.c')
-rw-r--r-- | stmhal/math.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stmhal/math.c b/stmhal/math.c index 0809a3f2c5..cdb55a8ada 100644 --- a/stmhal/math.c +++ b/stmhal/math.c @@ -48,6 +48,14 @@ float ceilf(float x) { return 0.0; } float floorf(float x) { return 0.0; } float truncf(float x) { return 0.0; } float fmodf(float x, float y) { return 0.0; } +float gammaf(float x) { return 0.0; } +float lgammaf(float x) { return 0.0; } +float erff(float x) { return 0.0; } +float erfcf(float x) { return 0.0; } +float modff(float x, float *y) { return 0.0; } +float frexpf(float x, int *exp) { return 0.0; } +float ldexpf(float x, int exp) { return 0.0; } +int __fpclassifyf(float x) { return 0; } /*****************************************************************************/ // from musl-0.9.15 libm.h |