diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-08-14 15:37:46 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-08-14 15:37:46 +0000 |
commit | 27b0b77fbe6c678acf4f75c83beca3e5e5372923 (patch) | |
tree | b49a7ca1da04f6be5101f3c03519b3aeddb97200 /src/set_d128.c | |
parent | e15e04e0fc3822a0910ccf75b530a4846e583baa (diff) | |
download | mpfr-27b0b77fbe6c678acf4f75c83beca3e5e5372923.tar.gz |
[src/set_d128.c] Moved a definition under the #if where it is used.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13561 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/set_d128.c')
-rw-r--r-- | src/set_d128.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/set_d128.c b/src/set_d128.c index 7afd451dd..c5b2cd2e4 100644 --- a/src/set_d128.c +++ b/src/set_d128.c @@ -30,6 +30,8 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #ifdef MPFR_WANT_DECIMAL_FLOATS +#if HAVE_DECIMAL128_IEEE && (GMP_NUMB_BITS == 32 || GMP_NUMB_BITS == 64) + #ifdef DPD_FORMAT /* conversion 10-bits to 3 digits */ static unsigned int T[1024] = { @@ -102,7 +104,6 @@ static unsigned int T[1024] = { 774, 775, 776, 777, 778, 779, 796, 797, 976, 977, 998, 999 }; #endif -#if HAVE_DECIMAL128_IEEE && (GMP_NUMB_BITS == 32 || GMP_NUMB_BITS == 64) /* Convert d to a decimal string (one-to-one correspondence, no rounding). The string s needs to have at least 44 characters (including the final \0): * 1 for the sign '-' |