From 06135c33b710c64334ff10d2fcc4780154b65776 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Fri, 27 Apr 2018 09:56:35 -0300 Subject: Replace M_SUF (fabs) with M_FABS math-type-macros.h provides the macro M_FABS in order to reference the correct fabs function for a specific type. In most of the cases, M_FABS is identical to M_SUF (fabs), but that may change in the future. * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS. * math/w_asin_template.c: Likewise. * math/w_atanh_template.c: Likewise. Signed-off-by: Tulio Magno Quites Machado Filho --- math/w_asin_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math/w_asin_template.c') diff --git a/math/w_asin_template.c b/math/w_asin_template.c index a960a92e17..9487ada6ab 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); -- cgit v1.2.3