#168: set DEFAULT_DECIMAL_DIGITS to 38

This commit is contained in:
Louis Rubet 2017-06-28 08:22:36 +02:00
parent 78f64bb41d
commit 9cff0200ad

View file

@ -10,8 +10,8 @@
#define MPFR_DEFAULT_FORMAT "%.xxRg"
/* directly calculated from 128 bits precision
ceil(128 * log10(2) = 39) */
#define DEFAULT_DECIMAL_DIGITS 39
ceil(128 * log10(2)) - 1 = 38 */
#define DEFAULT_DECIMAL_DIGITS 38
// MPFR related defaults
//