Turns out there were common factors between two fractions;
by eliminating these first, significant rounding errors can
be avoided.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10169 57a11ea4-9604-0410-9ed3-97b8803252fd
I make these changes with some trepidation, since this puts
a whole lot less stress on the 'scrub' infrastructure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10167 57a11ea4-9604-0410-9ed3-97b8803252fd
* acinclude.m4: create a SCANF_QD_CHECK and make sure both
that and SCANF_LLD_CHECK are "long long" constant-safe
* configure.in: use the new SCANF_QD_CHECK and use it
earlier in the configuration.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10161 57a11ea4-9604-0410-9ed3-97b8803252fd
- Set the rng to a known seed.
- Loop the test so it fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10159 57a11ea4-9604-0410-9ed3-97b8803252fd
PERR() when xaccTransGetSharePrice() overflows.
Loop test-query, and start the rng to fail consistently.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10156 57a11ea4-9604-0410-9ed3-97b8803252fd
comparing two numbers gave incorrect results because
intermediate calculation overflowed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10153 57a11ea4-9604-0410-9ed3-97b8803252fd
first item in the list was delected. This could lead to
infinite loops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10145 57a11ea4-9604-0410-9ed3-97b8803252fd
If rounding is allowed, then multiplication should (never?) overflow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10135 57a11ea4-9604-0410-9ed3-97b8803252fd
-- re-order math to make overflow less like to occur
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10131 57a11ea4-9604-0410-9ed3-97b8803252fd
(this bug was introduced only recently, about a week ago, with the changes
to 128-bit intermediate calculations, and does not/should not affect any
actual users).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10130 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-30 Christian Stimming <stimming@tuhh.de>
* src/report/report-gnome/window-report.c: Add toolbar element for
saving the current report.
* src/report/report-system/report.scm, report-system.scm: Add
function for saving one particular report to the
~/.gnucash/saved-reports-1.8 file. Add extra menu only for
customized reports.
* src/scm/main-window.scm, src/scm/main.scm: Remove the previous
function for saving all reports since it is no longer necessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10127 57a11ea4-9604-0410-9ed3-97b8803252fd
replace it with standard grade-school long division
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10119 57a11ea4-9604-0410-9ed3-97b8803252fd
bug fix for large-number conversion
-- (there are still some bugs, and some print statements, which I'll
remove shortly)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10118 57a11ea4-9604-0410-9ed3-97b8803252fd
audit the math usage,
tweak the scrub routines to get rid of the no-root error message
(some debugging printfs remain, which I'll remove later)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10117 57a11ea4-9604-0410-9ed3-97b8803252fd