summaryrefslogtreecommitdiff
path: root/test/math/libm-test.inc
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-12-27 12:13:52 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-12-27 12:13:52 -0800
commite949d522a31db675889bc87b6023e7edb6b30caa (patch)
tree929bde2dcddef000af31ccb43823aa236a341128 /test/math/libm-test.inc
parentb2c9cb1927c5ed40c4bf2001abb0077bc5afb90b (diff)
test/math: put scalbf test under susv3 legacy define
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'test/math/libm-test.inc')
-rw-r--r--test/math/libm-test.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/math/libm-test.inc b/test/math/libm-test.inc
index 37ebd3c28..4570bcc09 100644
--- a/test/math/libm-test.inc
+++ b/test/math/libm-test.inc
@@ -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);
}