summaryrefslogtreecommitdiff
path: root/test/math/compile_test.c
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-12-27 12:13:52 -0800
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-01-21 12:41:25 +0100
commit7bc8c9094fac7e827b5339dc75b12eb07143df3c (patch)
tree48bfa1ea45b641bb7d036bf8c1efcb0b20e826f9 /test/math/compile_test.c
parent43151dd167a2583760acec773b3c107be643843c (diff)
test/math: put scalbf test under susv3 legacy define
Signed-off-by: Austin Foxley <austinf@cetoncorp.com> (cherry picked from commit e949d522a31db675889bc87b6023e7edb6b30caa) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/math/compile_test.c')
-rw-r--r--test/math/compile_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/math/compile_test.c b/test/math/compile_test.c
index 361556a81..61488857a 100644
--- a/test/math/compile_test.c
+++ b/test/math/compile_test.c
@@ -51,7 +51,9 @@ r += remainderf(float_x, float_x);
/*r += remquof(float_x, float_x, &int_x); - uclibc does not have it (yet?) */
r += rintf(float_x);
r += roundf(float_x);
+#ifdef __UCLIBC_SUSV3_LEGACY__
r += scalbf(float_x, float_x);
+#endif
/*r += scalblnf(float_x, long_x); - uclibc does not have it (yet?) */
r += scalbnf(float_x, int_x);
r += significandf(float_x);