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!). --- stmhal/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'stmhal') diff --git a/stmhal/Makefile b/stmhal/Makefile index 367cebd15..9c2c23c0c 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -63,12 +63,23 @@ endif SRC_LIB = $(addprefix lib/,\ libm/math.c \ - libm/mathsincos.c \ libm/asinfacosf.c \ libm/atanf.c \ libm/atan2f.c \ libm/fmodf.c \ libm/roundf.c \ + libm/log1pf.c \ + libm/acoshf.c \ + libm/asinhf.c \ + libm/atanhf.c \ + libm/kf_rem_pio2.c \ + libm/kf_sin.c \ + libm/kf_cos.c \ + libm/kf_tan.c \ + libm/ef_rem_pio2.c \ + libm/sf_sin.c \ + libm/sf_cos.c \ + libm/sf_tan.c \ ) SRC_C = \ -- cgit v1.2.3