[Top][All Lists]

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

[gawk-diffs] [SCM] gawk branch, long-double, updated. d118c9d35073796a2c

From: John Haque
Subject: [gawk-diffs] [SCM] gawk branch, long-double, updated. d118c9d35073796a2c53862ce0d2db897260db71
Date: Mon, 31 Dec 2012 15:30:00 +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, long-double has been updated
       via  d118c9d35073796a2c53862ce0d2db897260db71 (commit)
       via  7c017f175f74131de421563b127f9a554cc8fa07 (commit)
       via  6eaca011dff30eb685a01e3a7d16f22fa581e0ca (commit)
      from  67c71cd618d07c6d832f1031564566f17fa36e69 (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 d118c9d35073796a2c53862ce0d2db897260db71
Merge: 6eaca01 7c017f1
Author: John Haque <address@hidden>
Date:   Mon Dec 31 09:27:09 2012 -0600

    Merge branch 'num-handler' into long-double

commit 6eaca011dff30eb685a01e3a7d16f22fa581e0ca
Author: John Haque <address@hidden>
Date:   Mon Dec 31 09:21:55 2012 -0600

    Fix exp() function for long-double.

diff --git a/long_double.c b/long_double.c
index e2a5fb2..714dafc 100644
--- a/long_double.c
+++ b/long_double.c
@@ -1302,6 +1302,7 @@ do_exp(int nargs)
        if (do_lint && (tmp->flags & (NUMCUR|NUMBER)) == 0)
                lintwarn(_("exp: received non-numeric argument"));
        (void) force_number(tmp);
+       d = LDBL(tmp);
        errno = 0;
        res = gawk_expl(d);


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


reply via email to

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