CVS update: gnucash/src/engine
Derek Atkins
warlord@linas.org
Sun, 19 Jan 2003 13:38:18 -0600 (CST)
Date: Sunday January 19, 2003 @ 13:38
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/engine
In directory www.linas.org:/tmp/cvs-serv10062/src/engine
Modified Files:
gnc-numeric.c
Log Message:
* src/engine/gnc-numeric.c -- be more intelligent when operating
on numbers of different denominators. In particular, convert
both numbers to the lcd and then operate on them, instead of
assuming that a "cross-multiply" is safe.
* src/app-utils/test/test-print-parse-amount.c -- add more tests for
PrintAmountInternal by checking force_fit and round. Excercises
a bug (fixed in this patch) where cross-multiplies were NOT safe.