summaryrefslogtreecommitdiff
path: root/src/packedintarray.cpp (follow)
AgeCommit message (Collapse)Author
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-21Corrected zero-length PackedIntArray bug.Mike Buland
If the array was zero elements long and then append was used it wouldn't allocate memory, but it would try to write to a pointer.
2013-04-19Fractional divisoin works.Mike Buland
It doesn't round yet, and there's a chance I should be increasing the precision, right now it keeps the precision of the left hand side number.
2013-04-17Division, attempt one - broken.Mike Buland
It doesn't work by any means, and I think I confused myself partway through. I shouldn't code when I'm that tired, at least not on something this complex.
2013-04-17Now you can multiply fractional numbers.Mike Buland
2013-04-17Fractional portions parse now.Mike Buland
2013-04-16Added /, %, and = operators.Mike Buland
Division now works just fine, but by long division. There are apparently much faster ways of doing division, but as long as it works I feel like that's a great start :)
2013-04-16Added operators: -, ==, !=, <, >, <=, >=Mike Buland
Still working on division, needed some other operators to make it work.
2013-04-15Addition, subtraction, and multiplication work nowMike Buland
Division isn't working yet, there are too many options, I'll figure out something eventually :-P
2013-04-15Initial checkin.Mike Buland
This project will most likely just be stuck into libbu++, but I didn't want to deal with building it all in windows.