From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 923783858287; Mon, 29 Jan 2024 17:56:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 923783858287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706550975; bh=zjKZgRGD1mBZFiATGIqnrknZ0fbuYfnbi4qxA4r0OgI=; h=From:To:Subject:Date:From; b=gpNFfP62cgSRT6dgYU84yRCmg1IzEFkvritcg/QqZMG2pTJWR2eYacN1GwLCiqfr8 rtzHZxXksT8xdtvow+UJZoawIVWlwZw5atSTuCt7rRfekfNWhA516jryKXdtQokWob UDdHNdwlRHpYnfBhWrzgAxTZSWO+jxi6GPAsDJsk= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] math: use fabs on __ieee754_lgamma_r X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 84b81bed2566c17694bf9296ab3ae4327b59e4b6 X-Git-Newrev: 38332b75c5aad18e96600f769a49187fffce4912 Message-Id: <20240129175615.923783858287@sourceware.org> Date: Mon, 29 Jan 2024 17:56:15 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=38332b75c5aad18e96600f769a49187fffce4912 commit 38332b75c5aad18e96600f769a49187fffce4912 Author: Adhemerval Zanella Date: Thu Mar 10 14:21:43 2022 -0300 math: use fabs on __ieee754_lgamma_r Diff: --- sysdeps/ieee754/dbl-64/e_lgamma_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/ieee754/dbl-64/e_lgamma_r.c b/sysdeps/ieee754/dbl-64/e_lgamma_r.c index c298c8ca03..0b0c4e6f4c 100644 --- a/sysdeps/ieee754/dbl-64/e_lgamma_r.c +++ b/sysdeps/ieee754/dbl-64/e_lgamma_r.c @@ -231,7 +231,7 @@ __ieee754_lgamma_r(double x, int *signgamp) if (x < -2.0 && x > -28.0) return __lgamma_neg (x, signgamp); t = sin_pi(x); - if(t==zero) return one/fabsf(t); /* -integer */ + if(t==zero) return one/fabs(t); /* -integer */ nadj = __ieee754_log(pi/fabs(t*x)); if(t