mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Derive some numeric comparisons and arithmetics from Fraction class https://github.com/python/cpython/blob/3.7/Lib/fractions.py and general information from https://docs.python.org/3/library/numbers.html#numbers.Integral These methods are bound closer to the gnucash-C-api than those from the fraction class. This is not the full set of comparisons and arithmetics, needs to be extended. It would be good to extend tests to cover this.