commit 169962d769c70ee0c95a5e252959348ea3b49abd
parent 84998f9d052d49839a3bba75a91c3419acd87a86
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 2 Nov 2017 18:42:12 +0100
lets use 52, the number of bits stored
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/amount.c b/src/util/amount.c
@@ -32,7 +32,7 @@
/**
* Maximum legal 'value' for an amount, based on IEEE double (for JavaScript compatibility).
*/
-#define MAX_AMOUNT_VALUE (1LLU << 53)
+#define MAX_AMOUNT_VALUE (1LLU << 52)
/**