gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, feature/api-mpfr, updated. gawk-4.1.0-23


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, feature/api-mpfr, updated. gawk-4.1.0-2399-g5b2a254
Date: Sat, 7 Jan 2017 18:40:33 +0000 (UTC)

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, feature/api-mpfr has been updated
       via  5b2a254d954b829e02ec88732d72d16ed93a266f (commit)
       via  bead834de8c5411c771b428a03f7f61045799b58 (commit)
       via  e015d30d0e2a1697789f40a4999a6c8d857a9e6a (commit)
      from  9ef43720d1b2b3125f4367f3ccf2cb7129d1a9ba (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=5b2a254d954b829e02ec88732d72d16ed93a266f

commit 5b2a254d954b829e02ec88732d72d16ed93a266f
Merge: 9ef4372 bead834
Author: Andrew J. Schorr <address@hidden>
Date:   Sat Jan 7 13:40:16 2017 -0500

    Merge branch 'master' into feature/api-mpfr

diff --cc ChangeLog
index 6ec9377,d362fa6..0e73da2
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,45 -1,8 +1,50 @@@
 +2017-01-06         Andrew J. Schorr     <address@hidden>
 +
 +      Enhance API to support extended-precision arithmetic.
 +      * awk.h (enum block_id): Add new values BLOCK_MPFR and BLOCK_MPZ.
 +      (make_number_node): New inline function to reduce code duplication
 +      for creating numeric nodes.
 +      * gawkapi.h (gawk_api_major_version): Bump to 3.
 +      (awk_number_t): New typedef to represent numbers with varying internal
 +      representations.
 +      (awk_value_t): For numbers, replace double with awk_number_t.
 +      (num_value): Redefine.
 +      (num_type, num_ptr): New defines for awk_number_t union members.
 +      (gawk_api_t): Add constants for version checking: gmp_major_version,
 +      gmp_minor_version, mpfr_major_version, and mpfr_minor_version.
 +      Add functions api_get_mpfr and api_get_mpz to allocate memory for
 +      extended-precision numbers to hand to gawk.
 +      (get_mpfr_ptr, get_mpz_ptr): Helper macros to warp api_get_mpfr and
 +      api_get_mpz.
 +      (make_number): Modify to populate awk_number_t correctly.
 +      (make_number_mpz, make_number_mpfr): New helper functions to create
 +      extended-precision numeric nodes.
 +      (check_mpfr_version): New macro to check GMP/MPFR version compatibility
 +      in extensions that want to support extended-precision math.
 +      * gawkapi.c (getmpfr, freempfr, getmpz, freempz): New macros to
 +      allocate and free memory blocks for extended-precision math.
 +      (awk_value_to_node): For AWK_NUMBER values, support 3 different kinds
 +      of internal numbers: double, mpz_t, and mpfr_t.
 +      (assign_number): New helper function to convert a numeric node to
 +      an awk_value_t.
 +      (node_to_awk_value): Use assign_number in a couple of places to
 +      pass numbers properly.
 +      (api_get_mpfr): Implement new api_get_mpfr hook.
 +      (api_get_mpfz): Implement new api_get_mpz hook.
 +      (api_impl): Add GMP & MPFR versions, api_get_mpfr, and api_get_mpz.
 +      * node.c (r_make_number): Use new make_number_node inline function
 +      to reduce code duplication.
 +      (nextfree): Add block allocators for mpfr_t and mpz_t.
 +      (more_blocks): Add an assert to protect against cases where the block
 +      size is too small to hold our structure.
 +      * mpfr.c (mpg_node): Use new make_number_node inline function
 +      to reduce code duplication.
 +
+ 2017-01-04         Arnold Robbins        <address@hidden>
+ 
+       * config.guess, config.sub, compile, depcomp: Sync from latest
+       in GNULIB.
+ 
  2016-12-27         Juergen Kahrs         <address@hidden>
  
        * CMakeLists.txt: Updated after adding support library.

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

Summary of changes:
 ChangeLog                        |    5 +
 compile                          |    9 +-
 config.guess                     |   12 +-
 config.sub                       |   21 +-
 depcomp                          |   41 +-
 extension/build-aux/ChangeLog    |    5 +
 extension/build-aux/compile      |    9 +-
 extension/build-aux/config.guess |   12 +-
 extension/build-aux/config.sub   |   21 +-
 extension/build-aux/depcomp      |   41 +-
 support/ChangeLog                |    4 +
 support/dfa.c                    |  893 +++++++++++++++++++-------------------
 12 files changed, 509 insertions(+), 564 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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