mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Mike Alexander brought this up with a test case that failed to round down sufficiently; he found that reducing the rounding denominator by 2 sufficed to make his test case pass. In fact the sizing of the replacement denominator by shifting the larger of the numerator or denominator by an arbitrary 62 bits was not correct most of the time, so instead we begin with a shift of the full lower leg worth, try to do the conversion, and if the conversion is still “big” shift the larger value one more and try the operation again, repeating until the result will fit in a GncNumeric.
This directory contains the source for GnuCash. See README.modules for the layout of the module subdirectories. The non-module directories are: doc: various notes about design and the design documentation. experimental: for experimental systems. gnome: misc code for the gtk/gnome front end. optional: bits supported via ./configure --enable-* or --with-* args. pixmaps: various runtime images. quotes: code for downloading stock quotes. scm: misc scheme code.