summaryrefslogtreecommitdiff
path: root/src/main.cpp (follow)
AgeCommit message (Collapse)Author
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.