Richard Wackerbarth <[EMAIL PROTECTED]> writes:
> First we are dealing only in integers that we sum. Even multiprecision 
> integer arithmatic is much faster than "rational" summation.

Anything that can be summed in a financial database will have to have
the same denominator.  We don't have to do "rational" summation,
because there must be mechanisms in place to enforce constraints such
as "this column represents values in dollars."  

> Secondly, if we have a database storing the data, it can handle integers or 
> "money". But I have not seeen one that can handles "rationals".

... so this is a straw man.  Numerators and denominators stored in
separate table columns can be tested and summed using database
primitives if I'm not mistaken.

It's a mistake to store the data in such a way that it's impossible to
look at a single data structure to interpret the value.  

b.g.

--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to