summaryrefslogtreecommitdiff
path: root/src/main.cpp (follow)
AgeCommit message (Collapse)Author
2015-01-07Fixed parsing bug, added unit tests, debug cleanup.0.12Mike Buland
There was an issue with order of operations outside of parenthesies, easily solved.
2014-11-28Division fixes, better config, more tests.0.11Mike Buland
Other minor fixes and options such as --version being added.
2014-11-24Fixed an annoying parsing bug.0.10Mike Buland
2014-10-30Updated version number.0.09Mike Buland
2013-11-13Forgot to update the version number again.Mike Buland
2013-05-10Added more helpers to Number.0.07Mike Buland
2013-05-10Added more checking & unit-tests.Mike Buland
2013-05-09Added better filtering in Number::set, and cli options.Mike Buland
The command line options let you set the initial radix/scale, and there's a function te test if any number is prime, that's fun.
2013-05-08Forgot to change the version number in the code.Mike Buland
This doesn't really matter for this project right now. I keep forgetting because other ones auto-generate the code from 'git describe'
2013-04-24Updated version header.0.05Mike Buland
2013-04-23Updated the version and startup banner.0.04Mike Buland
2013-04-23Added cli params & a unit test.Mike Buland
2013-04-22Just tweaked the starting banner.0.02Mike Buland
2013-04-22There is now a parser & calculator interface.Mike Buland
2013-04-21FIxed fractional support in comparisons.Mike Buland
They still don't handle mixed scale comparisons correctly, it shouldn't be too hard to add, but yeah...not supported yet.
2013-04-19Added routines to get/set scale.Mike Buland
2013-04-19Corrected bugs in division scaling and string parsing.Mike Buland
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-17You can now add and subtract fractional numbers.Mike Buland
2013-04-17Fractional portions parse now.Mike Buland
2013-04-16Broke the string parser.Mike Buland
2013-04-16Added formatter for Number.Mike Buland
I'm a little embarassed that I didn't do this from the start, made the code so much easier to read.
2013-04-16Full support for arbitrary radixes is in place.Mike Buland
It computes the radix and bitwidth dynamically, we could probably speed that up another step by simply having a table of common ones, but for now it'll work for anything.
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.