[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-749-g7ddcbce3

Richard B. Kreckel git at ginac.de
Tue Nov 15 00:17:51 CET 2022


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 "GiNaC -- a C++ library for symbolic computations".

The branch, master has been updated
       via  7ddcbce353f5811a8967297eece3fdff7ae04f50 (commit)
       via  d4a58b74cea7c813330aa7813d86713bee205d04 (commit)
       via  cdb367739f507337ef1aa5c973e4671c908cf361 (commit)
       via  cdce7eb2282dbb095e9ae079da371c78b7c5150e (commit)
      from  d39db5674734029a7aa11ea4446fd8923d51ce0e (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 7ddcbce353f5811a8967297eece3fdff7ae04f50
Author: Richard Kreckel <kreckel at ginac.de>
Date:   Tue Nov 15 00:08:28 2022 +0100

    Refactor internal calc_bound() routines.
    
    Reduce them to computation of absolute values of the polynomial's roots
    and document that this is known as Landau's inequality. The multiplication
    with a power of two is done by the caller.
    
    Also remove the internal fallback computation using the maxcoeff since
    this cannot happen. (In the worst case, there is only one non-zero
    coefficient 'a'. Then we compute sqrt(a^2) which is not smaller than a.
    Otherwise, we compute sqrt(a^2 + x) > a.)

commit d4a58b74cea7c813330aa7813d86713bee205d04
Author: Richard Kreckel <kreckel at ginac.de>
Date:   Mon Nov 14 23:13:21 2022 +0100

    Remove own definition of enable_if<B, T> in favor of...
    
    ...the definition provided by <type_traits> since C++11.

commit cdb367739f507337ef1aa5c973e4671c908cf361
Author: Richard Kreckel <kreckel at ginac.de>
Date:   Mon Nov 14 23:05:47 2022 +0100

    [DEBUG] Make some debug output operators compile in factor.cpp...
    
    ...for the case when somebody actually #defines DEBUGFACTOR. The operators
    must be in the same anonymous namespace in which umodpoly, upoly and upvec
    are typedef'ed. (I'm not really sure I understand why but that's what GCC
    and CLang are convinced of.)

commit cdce7eb2282dbb095e9ae079da371c78b7c5150e
Author: Richard Kreckel <kreckel at ginac.de>
Date:   Thu Oct 13 00:12:07 2022 +0200

    Optimize some use of CLN's expt_pos() function in factor().
    
    (Not that it's slow or mattered much, but why waste cycles?)

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

Summary of changes:
 ginac/factor.cpp | 54 ++++++++++++++++++++----------------------------------
 1 file changed, 20 insertions(+), 34 deletions(-)


hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations


More information about the GiNaC-devel mailing list