lets use 52, the number of bits stored

This commit is contained in:
Christian Grothoff 2017-11-02 18:42:12 +01:00
parent 84998f9d05
commit 169962d769
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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)
/**