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/libm.h | |
parent | 6936f4626c8748c077ad2c63827d4deeb43b867d (diff) |
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/libm.h')
-rw-r--r-- | lib/libm/libm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libm/libm.h b/lib/libm/libm.h index c87c55821..f782249e5 100644 --- a/lib/libm/libm.h +++ b/lib/libm/libm.h @@ -19,6 +19,8 @@ #include <stdint.h> #include <math.h> +#define FLT_EVAL_METHOD 0 + #define FORCE_EVAL(x) do { \ if (sizeof(x) == sizeof(float)) { \ volatile float __x; \ |