aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-07-27 17:25:11 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2018-07-30 13:18:01 +0100
commit41ed0e600fb5a37ba96742fdbadd3048e62d5045 (patch)
tree81fbf6b4ef261bd6cb4fdf203222c842c8c6d287 /math
parenta202746b8841f77ebfe63f38d08832afc1155e03 (diff)
downloadarm-optimized-routines-41ed0e600fb5a37ba96742fdbadd3048e62d5045.tar.gz
Don't build tanf rredf and funder by default
These are no longer maintained and only kept for WANT_SINGLEPREC build, which is useful for microcontrollers with single precision fpu only. Removed all tests that are not testing code in the default build.
Diffstat (limited to 'math')
-rw-r--r--math/funder.c2
-rw-r--r--math/rredf.c2
-rw-r--r--math/tanf.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/math/funder.c b/math/funder.c
index 6208e12..14fdd2e 100644
--- a/math/funder.c
+++ b/math/funder.c
@@ -1 +1,3 @@
+#if WANT_SINGLEPREC
#include "single/funder.c"
+#endif
diff --git a/math/rredf.c b/math/rredf.c
index c96fee4..fde20f0 100644
--- a/math/rredf.c
+++ b/math/rredf.c
@@ -1 +1,3 @@
+#if WANT_SINGLEPREC
#include "single/rredf.c"
+#endif
diff --git a/math/tanf.c b/math/tanf.c
index 36ecb4f..d3799f5 100644
--- a/math/tanf.c
+++ b/math/tanf.c
@@ -1 +1,3 @@
+#if WANT_SINGLEPREC
#include "single/s_tanf.c"
+#endif