Rethinking Numeric

Christian Stimming (mobil) christian at cstimming.de
Sun May 25 04:54:09 EDT 2014


Thanks for starting the discussion. 

If we've reached the point where our int64 rational numbers do not fit our problem requirements anymore, I'd rather look for a different number representation that fits our application domain better. I'm thinking about replacing rational numbers by decimal floating point numbers. That is, a number is represented by m * 10^e with the mantissa m and exponent e as signed integers. This is different from our normal *binary* floating point in that we use the exponent with base 10. However, all common rules for floating point can be applied just as normal. By the way, maybe there is even a standard comparable to IEEE 754 available? 

Just another possible way to proceed for solving this problem...

- Christian
--
Sent from mobile.


More information about the gnucash-devel mailing list