mirror of
https://git.busybox.net/uClibc
synced 2025-10-14 01:32:00 +08:00
k_standard.c: guard scalb[f] related (unused) code with SUSV3_LEGACY
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:

committed by
Bernhard Reutner-Fischer

parent
41ddd70e0e
commit
ed5c73b005
@@ -598,6 +598,7 @@ double __kernel_standard(double x, double y, int type)
|
||||
errno = EDOM;
|
||||
}
|
||||
break;
|
||||
# ifdef __UCLIBC_SUSV3_LEGACY__
|
||||
case 32:
|
||||
case 132:
|
||||
/* scalb overflow; SVID also returns +-HUGE_VAL */
|
||||
@@ -622,6 +623,7 @@ double __kernel_standard(double x, double y, int type)
|
||||
errno = ERANGE;
|
||||
}
|
||||
break;
|
||||
# endif
|
||||
case 34:
|
||||
case 134:
|
||||
/* j0(|x|>X_TLOSS) */
|
||||
|
Reference in New Issue
Block a user