[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-478-g958b72c
Richard B. Kreckel
git at ginac.de
Sat Feb 6 01:00:42 CET 2016
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 958b72c93a20eaf27ed9e2092d1c342a3c8b8ecf (commit)
from 63f9b0510fecd2b50f75df37c9525bc215dc2578 (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 958b72c93a20eaf27ed9e2092d1c342a3c8b8ecf
Author: Richard Kreckel <kreckel at ginac.de>
Date: Sat Feb 6 00:47:08 2016 +0100
[bugfix] fix elusive bug in quo, rem,...
The power of two rational numeric objects needs not be rational. As a
result, some care is required when transforming (b^e)*l -> (b*l^(1/e))^e
for some rational e and l. This is a common transformation in order to
convert a polynomial over Q into a polynomial over Z when computing
their quotient, remainder, etc. Failure to be careful can potentially
introduce spurious non-rational numbers into rational polynomials and
make those operations fail. This patch avoids this transformation when
l^(1/e) is not a rational number.
-----------------------------------------------------------------------
Summary of changes:
ginac/normal.cpp | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations
More information about the GiNaC-devel
mailing list