summaryrefslogtreecommitdiff
path: root/include/tgmath.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-29 13:55:44 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-29 13:55:44 +0000
commit3a40407c06a470f5b15a4df310ab135233ac6109 (patch)
tree5835d1a4d987f81411c4fe9cf3153467aea597f5 /include/tgmath.h
parent30f06faa24eb3d6da34c80f5632a7f01aee900e0 (diff)
- expand SUSv3_LEGACY
- SUSv4_LEGACY part #1 (non-networking)
Diffstat (limited to 'include/tgmath.h')
-rw-r--r--include/tgmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tgmath.h b/include/tgmath.h
index 685a34588..b3a546d17 100644
--- a/include/tgmath.h
+++ b/include/tgmath.h
@@ -376,6 +376,7 @@
/* Return the remainder of integer divison X / Y with infinite precision. */
#define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
+#if defined __UCLIBC_SUSV3_LEGACY__
/* Return X times (2 to the Nth power). */
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
# define scalb(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, scalb)
@@ -387,6 +388,7 @@
/* Return X times (2 to the Nth power). */
#define scalbln(Val1, Val2) \
__TGMATH_BINARY_FIRST_REAL_ONLY (Val1, Val2, scalbln)
+#endif /* UCLIBC_SUSV3_LEGACY */
/* Return the binary exponent of X, which must be nonzero. */
#define ilogb(Val) __TGMATH_UNARY_REAL_ONLY (Val, ilogb)