r13090 - gnucash/trunk/src/engine/test - Add some test-cases for
gnc_numerics using the reciprocal denominator.
Chris Shoemaker
chris at cvs.gnucash.org
Sat Feb 4 00:37:51 EST 2006
Author: chris
Date: 2006-02-04 00:37:50 -0500 (Sat, 04 Feb 2006)
New Revision: 13090
Trac: http://svn.gnucash.org/trac/changeset/13090
Modified:
gnucash/trunk/src/engine/test/test-numeric.c
Log:
Add some test-cases for gnc_numerics using the reciprocal denominator.
Even though we don't explicitly ask for this representation, certain
calculations (e.g. those involving GNC_HOW_DENOM_SIGFIGS in the loan
druid and soon in budgets) will return numbers using this representation.
Unfortunately, these numbers aren't handled correctly by most of the
gnc_numeric functions, like the ones for comparison, equality testing,
arithmetic and conversion.
More information about the gnucash-patches
mailing list