gnucash master: Multiple changes pushed

Mike Alexander mta at code.gnucash.org
Tue Aug 22 00:50:49 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/29a92431 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/57638161 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/00c7089e (commit)
	from  https://github.com/Gnucash/gnucash/commit/f5c86453 (commit)



commit 29a92431cb85b6454c106d824ed5265bb1547525
Author: Mike Alexander <mta at umich.edu>
Date:   Tue Aug 22 00:47:08 2017 -0400

    Fix sigfigs(n) rounding to work when the input is bigger tnan 10**n.
    
    For example rounding 1234567/1 to 6 significant figures would fail.

commit 57638161f2ea6f042df6cf12edc8772e69d5a001
Author: Mike Alexander <mta at umich.edu>
Date:   Tue Aug 22 00:35:10 2017 -0400

    Fix numerator overflow constructing GncNumeric from 96.16

commit 00c7089ecb282db81fd8681d5ef64bc88833cf0e
Author: Mike Alexander <mta at umich.edu>
Date:   Sat Apr 15 02:08:16 2017 -0400

    Add tests for converting doubles 96.16 and 9616000000.0 to GncNumeric.



Summary of changes:
 libgnucash/engine/gnc-numeric.cpp       | 20 +++++++++++++++-----
 libgnucash/engine/gnc-rational.cpp      |  4 +++-
 libgnucash/engine/test/test-numeric.cpp | 16 ++++++++++++++++
 3 files changed, 34 insertions(+), 6 deletions(-)



More information about the gnucash-patches mailing list