From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id C96FD3858407; Mon, 4 Apr 2022 12:50:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C96FD3858407 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: eac9a4abdc6e1d71d1d7ead0ae4c12690f89268c X-Git-Newrev: 59c13c61ae81ac2d675f3f4e497b6e0f667dbf85 Message-Id: <20220404125009.C96FD3858407@sourceware.org> Date: Mon, 4 Apr 2022 12:50:09 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 12:50:09 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=59c13c61ae81ac2d675f3f4e497b6e0f667dbf85 commit 59c13c61ae81ac2d675f3f4e497b6e0f667dbf85 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 5ef289e8e8..12d0d543b1 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