[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, num-handler, updated. 7c017f175f74131de4

From: John Haque
Subject: [gawk-diffs] [SCM] gawk branch, num-handler, updated. 7c017f175f74131de421563b127f9a554cc8fa07
Date: Mon, 31 Dec 2012 15:26:42 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, num-handler has been updated
       via  7c017f175f74131de421563b127f9a554cc8fa07 (commit)
      from  9565731d6ee1a418444676846e860881cab78441 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 7c017f175f74131de421563b127f9a554cc8fa07
Author: John Haque <address@hidden>
Date:   Mon Dec 31 09:25:56 2012 -0600

    Fixed  MPFR add_long.

diff --git a/mpfr.c b/mpfr.c
index 4d4de53..4697a9f 100644
--- a/mpfr.c
+++ b/mpfr.c
@@ -1645,7 +1645,7 @@ mpfp_add_long(const NODE *t1, long l)
                if (l >= 0)
                        mpz_add_ui(r->qnumbr, t1->qnumbr, l);
-                       mpz_sub_ui(r->qnumbr, t1->qnumbr, l);
+                       mpz_sub_ui(r->qnumbr, t1->qnumbr, -l);
        } else {
                int tval;


Summary of changes:
 mpfr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]