aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/w_acos_template.c2
-rw-r--r--math/w_asin_template.c2
-rw-r--r--math/w_atanh_template.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/math/w_acos_template.c b/math/w_acos_template.c
index 0861e9f..76537b2 100644
--- a/math/w_acos_template.c
+++ b/math/w_acos_template.c
@@ -29,7 +29,7 @@
FLOAT
M_DECL_FUNC (__acos) (FLOAT x)
{
- if (__glibc_unlikely (isgreater (M_SUF (fabs) (x), M_LIT (1.0))))
+ if (__glibc_unlikely (isgreater (M_FABS (x), M_LIT (1.0))))
/* Domain error: acos(|x|>1). */
__set_errno (EDOM);
return M_SUF (__ieee754_acos) (x);
diff --git a/math/w_asin_template.c b/math/w_asin_template.c
index a960a92..9487ada 100644
--- a/math/w_asin_template.c
+++ b/math/w_asin_template.c
@@ -29,7 +29,7 @@
FLOAT
M_DECL_FUNC (__asin) (FLOAT x)
{
- if (__glibc_unlikely (isgreater (M_SUF (fabs) (x), M_LIT (1.0))))
+ if (__glibc_unlikely (isgreater (M_FABS (x), M_LIT (1.0))))
/* Domain error: asin(|x|>1). */
__set_errno (EDOM);
return M_SUF (__ieee754_asin) (x);
diff --git a/math/w_atanh_template.c b/math/w_atanh_template.c
index d4b2838..1e52825 100644
--- a/math/w_atanh_template.c
+++ b/math/w_atanh_template.c
@@ -29,9 +29,9 @@
FLOAT
M_DECL_FUNC (__atanh) (FLOAT x)
{
- if (__glibc_unlikely (isgreaterequal (M_SUF (fabs) (x), M_LIT (1.0))))
+ if (__glibc_unlikely (isgreaterequal (M_FABS (x), M_LIT (1.0))))
{
- if (M_SUF (fabs) (x) == 1)
+ if (M_FABS (x) == 1)
/* Pole error: atanh(|x|==1). */
__set_errno (ERANGE);
else