summaryrefslogtreecommitdiff
path: root/src/amount.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated comments and other whitespace changes.John Wiegley2009-01-301-27/+13
|
* Stopped using the generic "unsigned int" in favor of more specific types.John Wiegley2009-01-291-1/+1
|
* Update Doxygen documentation. Still much more work to be done.John Wiegley2009-01-291-1/+1
|
* Revised the way that parsing flags get passed around.John Wiegley2009-01-291-9/+9
|
* amount_t and commodity_t objects can now stream themselves to XML.John Wiegley2009-01-281-0/+16
|
* Moved sha1 and gdtoa inclusions into system.hh.John Wiegley2009-01-241-3/+0
|
* Include gdtoa.h if it's being used.John Wiegley2009-01-231-0/+3
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-191-2/+2
|
* Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flagJohn Wiegley2009-01-191-1/+1
| | | | COMMODITY_WALKED, for avoiding infinite recursions during price lookups.
* Added argument to amount_t::value() for request a market value in terms of aJohn Wiegley2009-01-191-3/+3
| | | | specific commodity.
* Create an unrounded global amount variable 'one' for creating inverse priceJohn Wiegley2009-01-191-3/+9
| | | | mappings.
* Added a missing call to _dup() in amount_t::in_place_round. Thanks to unitJohn Wiegley2008-11-231-0/+1
| | | | testing!
* Abstracted precision extension constant, and added a note that precision mustJohn Wiegley2008-11-231-8/+17
| | | | | be handled differently, since paying attention to places after the decimal is not enough.
* Did more restructing of commodity price histories, although the completedJohn Wiegley2008-09-211-1/+1
| | | | find_price does not work yet.
* Created several alternate 'value' methods to support the upcoming commodityJohn Wiegley2008-09-211-1/+2
| | | | valuation changes.
* Added in_place_round method to all Ledger numerical types.John Wiegley2008-09-141-17/+17
|
* Removed all pending todos from the amount_t code.John Wiegley2008-08-171-44/+11
|
* The Python interface layer is building again.John Wiegley2008-08-071-1/+1
|
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+1433
is in doc/, etc.