gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, master, updated. gawk-4.1.0-4200-gb82e1ea


From: Arnold Robbins
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-4200-gb82e1ea
Date: Sun, 20 Dec 2020 13:14:36 -0500 (EST)

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, master has been updated
       via  b82e1ea2fff1333272d1c29b762dc1abd0215e7e (commit)
       via  e1be14cd37e0c6c58284e18c859e334d1b5fa97f (commit)
       via  3b50111ac31a64e01a2e64a06c7c276f6b9424cf (commit)
      from  86df8fd1c504793b43404ce9467cff7b1d1fe2a1 (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=b82e1ea2fff1333272d1c29b762dc1abd0215e7e

commit b82e1ea2fff1333272d1c29b762dc1abd0215e7e
Merge: 86df8fd e1be14c
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun Dec 20 20:14:27 2020 +0200

    Merge branch 'gawk-5.1-stable'

diff --cc ChangeLog
index 4e36e5b,87805af..6f94072
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,18 -1,23 +1,36 @@@
+ 2020-12-20         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       Second steps fixing +inform, +nancy, for MPFR.
+ 
+       * builtin.c (format_nan_inf): Use mpfr_signbit instead of mpfr_sgn.
+       * mpfr.c (force_mpnum): Check for NaN and leading minus and if so
+       set the signbit with mpfr_setsign.
+       (mpg_force_number): Copy in code from f_force_number to check
+       properly for +inf, +nan.
+ 
+ 2020-12-19         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       First steps fixing +inform, +nancy. Sigh.
+ 
+       * awk.h (is_ieee_magic_val): Add declaration.
+       * node.c (is_ieee_magic_val): Make extern, not static.
+       (r_force_number): Make the check smarter, catch -nan.
+ 
  2020-11-02         Arnold D. Robbins     <arnold@skeeve.com>
  
 +      Make gawk numeric comparisons act like C doubles.
 +      MPFR differs from doubles w.r.t. NaN, not sure why yet.
 +
 +      * awk.h (scalar_cmp_t): New enum.
 +      * builtin.c (format_nan_inf): Use mpfr_signbit, not mpfr_sgn.
 +      * eval.c (cmp_doubles): New routine.
 +      (cmp_scalars): Change type to bool, rework logic.
 +      * interpret.h (r_interpret): Rework scalar comparisons.
 +      * mpfr.c (mpg_cmp_as_numbers): New routine.
 +      * node.c: Use <math.h>, not "math.h", minor comment edits.
 +
 +2020-11-02         Arnold D. Robbins     <arnold@skeeve.com>
 +
        * re.c (make_regexp): Cast len parameter to int to avoid
        compiler warnings.
  
diff --cc node.c
index 772131a,e5ecff1..0982a6d
--- a/node.c
+++ b/node.c
@@@ -25,10 -25,9 +25,9 @@@
   */
  
  #include "awk.h"
 -#include "math.h"
 +#include <math.h>
  #include "floatmagic.h"       /* definition of isnan */
  
- static int is_ieee_magic_val(const char *val);
  static NODE *r_make_number(double x);
  static AWKNUM get_ieee_magic_val(char *val);
  extern NODE **fmt_list;          /* declared in eval.c */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                | 18 ++++++++++++++++++
 awk.h                    |  1 +
 builtin.c                |  2 +-
 mpfr.c                   | 43 +++++++++++++++++++++++++++++++++++++++++++
 node.c                   | 15 ++++++++++-----
 pc/ChangeLog             |  8 ++++++++
 pc/Makefile.tst          | 12 ++++++++----
 test/ChangeLog           | 11 +++++++++++
 test/Makefile.am         |  7 +++++--
 test/Makefile.in         | 16 +++++++++++-----
 test/Maketests           |  9 ++++++---
 test/forcenum-mpfr.ok    |  9 ---------
 test/inf-nan-torture.awk |  4 ++++
 test/inf-nan-torture.in  |  1 +
 test/inf-nan-torture.ok  | 16 ++++++++++++++++
 15 files changed, 143 insertions(+), 29 deletions(-)
 delete mode 100644 test/forcenum-mpfr.ok
 create mode 100644 test/inf-nan-torture.awk
 create mode 100644 test/inf-nan-torture.in
 create mode 100644 test/inf-nan-torture.ok


hooks/post-receive
-- 
gawk



reply via email to

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