aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/e_scalb.c2
-rw-r--r--math/fraiseexcpt.c1
-rw-r--r--math/w_acos.c2
-rw-r--r--math/w_asin.c2
-rw-r--r--math/w_ilogb.c2
-rw-r--r--math/w_j0.c4
-rw-r--r--math/w_j1.c4
-rw-r--r--math/w_jn.c4
-rw-r--r--math/w_log.c4
-rw-r--r--math/w_log10.c4
10 files changed, 15 insertions, 14 deletions
diff --git a/math/e_scalb.c b/math/e_scalb.c
index 146d49e1c3..d315d57681 100644
--- a/math/e_scalb.c
+++ b/math/e_scalb.c
@@ -27,7 +27,7 @@ invalid_fn (double x, double fn)
{
if (__rint (fn) != fn)
{
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __nan ("");
}
else if (fn > 65000.0)
diff --git a/math/fraiseexcpt.c b/math/fraiseexcpt.c
index 8809af997d..05caf0d187 100644
--- a/math/fraiseexcpt.c
+++ b/math/fraiseexcpt.c
@@ -30,6 +30,7 @@ __feraiseexcept (int excepts)
strong_alias (__feraiseexcept, __old_feraiseexcept)
compat_symbol (libm, __old_feraiseexcept, feraiseexcept, GLIBC_2_1);
#endif
+libm_hidden_def (__feraiseexcept)
libm_hidden_ver (__feraiseexcept, feraiseexcept)
versioned_symbol (libm, __feraiseexcept, feraiseexcept, GLIBC_2_2);
diff --git a/math/w_acos.c b/math/w_acos.c
index bb641092f0..e5e79dd2e0 100644
--- a/math/w_acos.c
+++ b/math/w_acos.c
@@ -29,7 +29,7 @@ __acos (double x)
&& _LIB_VERSION != _IEEE_)
{
/* acos(|x|>1) */
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (x, x, 1);
}
diff --git a/math/w_asin.c b/math/w_asin.c
index 9bf9374ec8..2b744467cd 100644
--- a/math/w_asin.c
+++ b/math/w_asin.c
@@ -29,7 +29,7 @@ __asin (double x)
&& _LIB_VERSION != _IEEE_)
{
/* asin(|x|>1) */
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (x, x, 2);
}
diff --git a/math/w_ilogb.c b/math/w_ilogb.c
index 9c0e264483..b2b3108a63 100644
--- a/math/w_ilogb.c
+++ b/math/w_ilogb.c
@@ -31,7 +31,7 @@ __ilogb (double x)
|| __builtin_expect (r == INT_MAX, 0))
{
__set_errno (EDOM);
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
}
return r;
}
diff --git a/math/w_j0.c b/math/w_j0.c
index 92a834542a..1ed8c26f1c 100644
--- a/math/w_j0.c
+++ b/math/w_j0.c
@@ -47,13 +47,13 @@ y0 (double x)
if (x < 0.0)
{
/* d = zero/(x-x) */
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (x, x, 9);
}
else if (x == 0.0)
{
/* d = -one/(x-x) */
- feraiseexcept (FE_DIVBYZERO);
+ __feraiseexcept (FE_DIVBYZERO);
return __kernel_standard (x, x, 8);
}
else if (_LIB_VERSION != _POSIX_)
diff --git a/math/w_j1.c b/math/w_j1.c
index 37c6d1f4b5..63bac83389 100644
--- a/math/w_j1.c
+++ b/math/w_j1.c
@@ -47,13 +47,13 @@ y1 (double x)
if (x < 0.0)
{
/* d = zero/(x-x) */
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (x, x, 11);
}
else if (x == 0.0)
{
/* d = -one/(x-x) */
- feraiseexcept (FE_DIVBYZERO);
+ __feraiseexcept (FE_DIVBYZERO);
return __kernel_standard (x, x, 10);
}
else if (_LIB_VERSION != _POSIX_)
diff --git a/math/w_jn.c b/math/w_jn.c
index 56bd280b1e..fdd2dc70e8 100644
--- a/math/w_jn.c
+++ b/math/w_jn.c
@@ -47,13 +47,13 @@ yn (int n, double x)
if (x < 0.0)
{
/* d = zero/(x-x) */
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (n, x, 13);
}
else if (x == 0.0)
{
/* d = -one/(x-x) */
- feraiseexcept (FE_DIVBYZERO);
+ __feraiseexcept (FE_DIVBYZERO);
return __kernel_standard (n, x, 12);
}
else if (_LIB_VERSION != _POSIX_)
diff --git a/math/w_log.c b/math/w_log.c
index 8c90052094..4383e500b3 100644
--- a/math/w_log.c
+++ b/math/w_log.c
@@ -29,12 +29,12 @@ __log (double x)
{
if (x == 0.0)
{
- feraiseexcept (FE_DIVBYZERO);
+ __feraiseexcept (FE_DIVBYZERO);
return __kernel_standard (x, x, 16); /* log(0) */
}
else
{
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (x, x, 17); /* log(x<0) */
}
}
diff --git a/math/w_log10.c b/math/w_log10.c
index 472d2a146d..a0a1843ba6 100644
--- a/math/w_log10.c
+++ b/math/w_log10.c
@@ -29,12 +29,12 @@ __log10 (double x)
{
if (x == 0.0)
{
- feraiseexcept (FE_DIVBYZERO);
+ __feraiseexcept (FE_DIVBYZERO);
return __kernel_standard (x, x, 18); /* log10(0) */
}
else
{
- feraiseexcept (FE_INVALID);
+ __feraiseexcept (FE_INVALID);
return __kernel_standard (x, x, 19); /* log10(x<0) */
}
}