summaryrefslogtreecommitdiff
path: root/src/unitnumber.cpp (follow)
AgeCommit message (Collapse)Author
2016-12-13Fixed up some unit tests.Mike Buland
Added new ones for a recently discovered bug, brought back others for bugs that were already fixed.
2016-12-13Corrected negation and single value parse bugs.Mike Buland
Discovered arithmetic bug in the Number class, -4 + 5 is coming back as -1, not 1. It's getting the sign wrong somehow. I'll have to hunt that down.
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-11-28Division fixes, better config, more tests.0.11Mike Buland
Other minor fixes and options such as --version being added.
2014-10-31Added more tests, keep everything on the up and upMike Buland
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.
2014-09-26Added tests that fail for division.Mike Buland
We need a new division routine.
2014-09-17Added a unit test that breaks divide.Mike Buland
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