1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>

	* math/tgmath.h (scalb): Only define for __USE_MISC or
	__USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
This commit is contained in:
Ulrich Drepper 1998-09-07 10:00:04 +00:00
parent 2b33e5b0ff
commit 26644e876e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
* math/tgmath.h (scalb): Only define for __USE_MISC or
__USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/stdio.h: Fix comment.

View File

@ -283,7 +283,9 @@
#define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
/* 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)
#endif
/* Return X times (2 to the Nth power). */
#define scalbn(Val1, Val2) __TGMATH_BINARY_FIRST_REAL_ONLY (Val1, Val2, scalbn)