summaryrefslogtreecommitdiff
path: root/test/math/libm-test.inc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-07 05:26:10 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-07 05:26:10 +0100
commit5fc610ca7bbffa0ab8f9cdacbe920c9496549c4f (patch)
tree3489e726a86404eda5dfdec0c28337f3e039e4c4 /test/math/libm-test.inc
parente61e7e0db9a7298ed846769323c7fd9472811c3f (diff)
fix math tests compile
Diffstat (limited to 'test/math/libm-test.inc')
-rw-r--r--test/math/libm-test.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/math/libm-test.inc b/test/math/libm-test.inc
index 5b1eacf..780b612 100644
--- a/test/math/libm-test.inc
+++ b/test/math/libm-test.inc
@@ -511,7 +511,7 @@ fpstack_test (const char *test_name)
static int old_stack;
int sw;
- asm ("fnstsw" : "=a" (sw));
+ __asm__ ("fnstsw" : "=a" (sw));
sw >>= 11;
sw &= 7;
@@ -8651,7 +8651,7 @@ isunordered_test (void)
ALL_RM_TEST (isunordered, 1, isunordered_test_data, RUN_TEST_LOOP_ff_i_tg, END);
}
-#if defined __DO_XSI_MATH__ && !(defined TEST_LDOUBLE || defined TEST_FLOAT)
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
static const struct test_f_f_data j0_test_data[] =
{
/* j0 is the Bessel function of the first kind of order 0 */
@@ -10402,7 +10402,7 @@ nextafter_test (void)
ALL_RM_TEST (nextafter, 1, nextafter_test_data, RUN_TEST_LOOP_ff_f, END);
}
-#ifndef __UCLIBC__
+#if 0
static const struct test_f_f_data nextup_test_data[] =
{
TEST_f_f (nextup, minus_zero, min_subnorm_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -12277,7 +12277,7 @@ trunc_test (void)
ALL_RM_TEST (trunc, 1, trunc_test_data, RUN_TEST_LOOP_f_f, END);
}
-#if defined __DO_XSI_MATH__ && !(defined TEST_LDOUBLE || defined TEST_FLOAT)
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
static const struct test_f_f_data y0_test_data[] =
{
/* y0 is the Bessel function of the second kind of order 0 */
@@ -12717,7 +12717,7 @@ main (int argc, char **argv)
/* Manipulation functions: */
copysign_test ();
-#ifndef __UCLIBC__
+#if 0
nextup_test();
nextdown_test();
#endif