diff options
Diffstat (limited to 'src/amount.h')
-rw-r--r-- | src/amount.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h index c6d2c27c..62a4a74b 100644 --- a/src/amount.h +++ b/src/amount.h @@ -101,6 +101,12 @@ public: typedef uint_least16_t precision_t; /** + * The number of places of precision by which values are extended to + * avoid losing precision during division and multiplication. + */ + static const unsigned int extend_by_digits = 8U; + + /** * The current_pool is a static variable indicating which commodity * pool should be used. */ |