summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
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) */