summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 10:21:30 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:25 +0200
commited5c73b0057bdbaad1d737342d374922685a399a (patch)
treef3791cb4e711b62bb388fabbde7f55932e3d97d1 /libm
parent41ddd70e0e77c3251a99265126d645ad03a86c64 (diff)
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>
Diffstat (limited to 'libm')
-rw-r--r--libm/k_standard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/k_standard.c b/libm/k_standard.c
index d9ab74579..29e662d9c 100644
--- a/libm/k_standard.c
+++ b/libm/k_standard.c
@@ -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) */