r13090 - gnucash/trunk/src/engine/test - Add some test-cases for gnc_numerics using the reciprocal denominator.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

r13090 - gnucash/trunk/src/engine/test - Add some test-cases for gnc_numerics using the reciprocal denominator.

Chris Shoemaker-2
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.


_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches