summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-15 12:55:22 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:33 -0400
commitb27b34a76fa16fcb96632a5bf245f3876183c479 (patch)
treefe386b51289569218b776e0d7453b161f071db70 /COPYING
parentb307f741c493652d64a6dde1df424c07eb698cb4 (diff)
downloadfork-ledger-b27b34a76fa16fcb96632a5bf245f3876183c479.tar.gz
fork-ledger-b27b34a76fa16fcb96632a5bf245f3876183c479.tar.bz2
fork-ledger-b27b34a76fa16fcb96632a5bf245f3876183c479.zip
Added a reference to gdtoa, for doing expected conversion of double to amount.
Diffstat (limited to 'COPYING')
-rw-r--r--COPYING9
1 files changed, 9 insertions, 0 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 00000000..83a0e129
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,9 @@
+This software may be copied freely, so long as the terms of the
+license -- described in the file LICENSE -- are observed.
+
+Further, the license terms described in gdtoa/LICENSE must also be
+observed, or else edit amount.cc and comment out the definition of
+HAVE_GDTOA. If this is done, I recommend avoiding all conversions
+from double to ledger::amount, as they will acquire an unexpected
+degree of precision (i.e., 123.123 is likely to be rendered as
+123.12300000002 or something similar).