public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] math: use fabs on __ieee754_lgamma_r Date: Tue, 4 Oct 2022 12:58:40 +0000 (GMT) [thread overview] Message-ID: <20221004125840.90BC13858012@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c38de9d6156728e95d301904f1e1e00871ca4aea commit c38de9d6156728e95d301904f1e1e00871ca4aea Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> 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 f612174577..8b9b9c6ae2 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<zero) *signgamp = -1; x = -x;
next reply other threads:[~2022-10-04 12:58 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-04 12:58 Adhemerval Zanella [this message] -- strict thread matches above, loose matches on Subject: below -- 2024-04-17 20:06 Adhemerval Zanella 2024-04-02 15:52 Adhemerval Zanella 2024-02-09 17:30 Adhemerval Zanella 2024-02-07 14:06 Adhemerval Zanella 2024-01-29 17:56 Adhemerval Zanella 2023-12-21 18:52 Adhemerval Zanella 2023-09-28 17:51 Adhemerval Zanella 2023-08-30 12:35 Adhemerval Zanella 2023-02-09 19:47 Adhemerval Zanella 2022-10-28 17:40 Adhemerval Zanella 2022-06-09 21:16 Adhemerval Zanella 2022-06-09 13:12 Adhemerval Zanella 2022-06-03 14:01 Adhemerval Zanella 2022-05-13 14:15 Adhemerval Zanella 2022-05-12 19:29 Adhemerval Zanella 2022-05-10 18:19 Adhemerval Zanella 2022-04-29 13:59 Adhemerval Zanella 2022-04-04 12:50 Adhemerval Zanella 2022-03-31 19:02 Adhemerval Zanella 2022-03-29 20:25 Adhemerval Zanella 2022-03-16 18:02 Adhemerval Zanella 2022-03-15 18:40 Adhemerval Zanella 2022-03-11 17:24 Adhemerval Zanella 2022-03-10 19:23 Adhemerval Zanella
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221004125840.90BC13858012@sourceware.org \ --to=azanella@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).