summaryrefslogtreecommitdiff
path: root/src/value.cc
Commit message (Collapse)AuthorAgeFilesLines
* Rationals based math is now passing the unit tests.John Wiegley2009-01-311-33/+5
|
* Changed to using rational numbers instead of integer approximations.John Wiegley2009-01-301-0/+4
| | | | | As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added.
* Changed around the ==, < and > operators in value.h to be correct.John Wiegley2009-01-281-5/+3
|
* Added is_nonzero and a stream-based read() method to value_t.John Wiegley2009-01-261-0/+28
|
* Corrected a parse-time optimization of "! CONSTANT".John Wiegley2009-01-221-0/+29
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Can now determine the market value of balance pairs, even if stored withinJohn Wiegley2009-01-191-6/+9
| | | | value_t objects.
* Corrected a harmless warning.John Wiegley2008-09-191-0/+2
|
* Transactional assignments (i.e., confirmed balances) are working now.John Wiegley2008-09-141-8/+2
|
* Added in_place_round method to all Ledger numerical types.John Wiegley2008-09-141-0/+20
|
* Output balances when converting to strings, as this is needed by debuggingJohn Wiegley2008-08-291-1/+1
| | | | code sometimes.
* Removed some dead code and updated the binary streaming code for op_t andJohn Wiegley2008-08-171-15/+5
| | | | value_t.
* If a comparison between amounts fails, fall back and try to compareJohn Wiegley2008-08-141-1/+6
| | | | commodities instead.
* Allow value_t::reduce() on any data type.John Wiegley2008-08-141-4/+2
|
* The balance report is working again.John Wiegley2008-08-101-0/+2
|
* Fixed some spurious warnings in the non-debug build.John Wiegley2008-08-081-0/+4
|
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+1773
is in doc/, etc.