|
@@ -19,6 +19,8 @@
|
|
|
#include <math.h>
|
|
|
#include "math_private.h"
|
|
|
|
|
|
+#if defined __UCLIBC_SUSV3_LEGACY__
|
|
|
+
|
|
|
#if defined(__UCLIBC_HAS_FENV__)
|
|
|
#include <errno.h>
|
|
|
|
|
@@ -42,11 +44,6 @@ sysv_scalb (double x, double fn)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
- * but because there is a sysv_scalb() func, it was decided
|
|
|
- * not to check yhis macro.
|
|
|
- */
|
|
|
-
|
|
|
|
|
|
double
|
|
|
scalb (double x, double fn)
|
|
@@ -83,4 +80,6 @@ scalb (double x, double fn)
|
|
|
return __ieee754_scalb (x, fn);
|
|
|
#endif
|
|
|
}
|
|
|
+
|
|
|
libm_hidden_def(scalb)
|
|
|
+#endif
|