summaryrefslogtreecommitdiff
path: root/src/unitnumber.h (follow)
AgeCommit message (Collapse)Author
2015-01-29Fixed nasty subtraction bug when dealing with fractions.0.13Mike Buland
It turned out to be a really simple solution, but man, that was embarassing. I forgot to include the fractional portion of a number when fixing my radix+1 compliment numbers.
2014-10-30The new division works great!Mike Buland
Other minor bug fixes including scale issues, digit() access stopped a digit before the final possible digit in the scale, >, >=, <, <= all work correctly with mixed scale numbers now, probably other fixes.
2013-05-10Added more checking & unit-tests.Mike Buland
2013-04-23Fixed random zeros bug.0.03Mike Buland
They weren't that random, the resize routine in PackedIntArray was written poorly. It was growing too much and computing the size of the original array incorrectly, so not all the data was being copied every time.
2013-04-23Added cli params & a unit test.Mike Buland