summaryrefslogtreecommitdiffstats
path: root/libdecnumber/decCommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/decCommon.c')
-rw-r--r--libdecnumber/decCommon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdecnumber/decCommon.c b/libdecnumber/decCommon.c
index 192b5cf02f9..add1f2ed716 100644
--- a/libdecnumber/decCommon.c
+++ b/libdecnumber/decCommon.c
@@ -1157,6 +1157,7 @@ uInt decFloatRadix(const decFloat *df) {
return 10;
} /* decFloatRadix */
+#if (DECCHECK || DECTRACE)
/* ------------------------------------------------------------------ */
/* decFloatShow -- printf a decFloat in hexadecimal and decimal */
/* df is the decFloat to show */
@@ -1183,6 +1184,7 @@ void decFloatShow(const decFloat *df, const char *tag) {
printf(">%s> %s [big-endian] %s\n", tag, hexbuf, buff);
return;
} /* decFloatShow */
+#endif
/* ------------------------------------------------------------------ */
/* decFloatToBCD -- get sign, exponent, and BCD8 from a decFloat */
OpenPOWER on IntegriCloud