summaryrefslogtreecommitdiff
path: root/src/set_d64.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-07-22 12:47:56 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-07-22 12:47:56 +0000
commitc01078a35a97522deb3f652c9ddee4d1910329ac (patch)
treebf11ef16c4c1bbbbc7d3219dc14b4aa65d066880 /src/set_d64.c
parentc11f37ebe4c00608e4b854a98e610a8a764bb03a (diff)
downloadmpfr-c01078a35a97522deb3f652c9ddee4d1910329ac.tar.gz
[src/set_d64.c] In decimal64_to_string, log the various fields of the
_Decimal64 argument whose memory data is regarded as a double (as this is the current implementation of this function). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13533 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/set_d64.c')
-rw-r--r--src/set_d64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/set_d64.c b/src/set_d64.c
index e70000e6e..85a35b3de 100644
--- a/src/set_d64.c
+++ b/src/set_d64.c
@@ -136,6 +136,11 @@ decimal64_to_string (char *s, _Decimal64 d)
/* now convert BID or DPD to string */
y.d64 = d;
x.d = y.d;
+ MPFR_LOG_MSG (("x = { .sig = %u, .exp = %u, "
+ ".manh = 0x%05lX = %lu, .manl = 0x%08lX = %lu }\n",
+ (unsigned int) x.s.sig, (unsigned int) x.s.exp,
+ (unsigned long) x.s.manh, (unsigned long) x.s.manh,
+ (unsigned long) x.s.manl, (unsigned long) x.s.manl));
Gh = x.s.exp >> 6;
if (Gh == 31)
{