]> Git Repo - uclibc-ng.git/commitdiff
test/math: put scalbf test under susv3 legacy define
authorAustin Foxley <[email protected]>
Sun, 27 Dec 2009 20:13:52 +0000 (12:13 -0800)
committerAustin Foxley <[email protected]>
Sun, 27 Dec 2009 20:13:52 +0000 (12:13 -0800)
Signed-off-by: Austin Foxley <[email protected]>
test/math/compile_test.c
test/math/libm-test.inc

index 361556a81445818b70e9c1b61ee7ad47fc76af29..61488857aa6e73d79dc3cf4d317313a47460b5b9 100644 (file)
@@ -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);
index 37ebd3c28675043472e945a24595504f3cda0cd9..4570bcc091bb777a2dad432251a0a379af232873 100644 (file)
@@ -4233,6 +4233,7 @@ scalb_test (void)
 {
   START (scalb);
 #ifndef TEST_LDOUBLE /* uclibc doesn't have scalbl */
+#ifdef __UCLIBC_SUSV3_LEGACY__ /* scalbf is susv3 legacy */
 
   TEST_ff_f (scalb, 2.0, 0.5, nan_value, INVALID_EXCEPTION);
   TEST_ff_f (scalb, 3.0, -2.5, nan_value, INVALID_EXCEPTION);
@@ -4283,7 +4284,8 @@ scalb_test (void)
 
   TEST_ff_f (scalb, 0.8L, 4, 12.8L);
   TEST_ff_f (scalb, -0.854375L, 5, -27.34L);
-#endif
+#endif /* __UCLIBC_SUSV3_LEGACY__ */
+#endif /* TEST_LDOUBLE */
   END (scalb);
 }
 
This page took 0.026524 seconds and 4 git commands to generate.