mirror of
https://github.com/louisrubet/rpn
synced 2025-01-16 03:41:28 +01:00
#168: set DEFAULT_DECIMAL_DIGITS to 38
This commit is contained in:
parent
78f64bb41d
commit
9cff0200ad
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
||||||
#define MPFR_DEFAULT_FORMAT "%.xxRg"
|
#define MPFR_DEFAULT_FORMAT "%.xxRg"
|
||||||
|
|
||||||
/* directly calculated from 128 bits precision
|
/* directly calculated from 128 bits precision
|
||||||
ceil(128 * log10(2) = 39) */
|
ceil(128 * log10(2)) - 1 = 38 */
|
||||||
#define DEFAULT_DECIMAL_DIGITS 39
|
#define DEFAULT_DECIMAL_DIGITS 38
|
||||||
|
|
||||||
// MPFR related defaults
|
// MPFR related defaults
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue