summaryrefslogtreecommitdiff
path: root/tests/tget_set_d64.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2006-11-09 13:37:33 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2006-11-09 13:37:33 +0000
commitcc8ed4d49adf7b945c7e1794a089d893b052a127 (patch)
treefb423c2b590529972189b2677d0a795b5f4fdab9 /tests/tget_set_d64.c
parent4273dca1e26da3164c9608021885edd6036ba811 (diff)
downloadmpfr-cc8ed4d49adf7b945c7e1794a089d893b052a127.tar.gz
added detection of decimal format in configure (DPD or BID)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4200 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_set_d64.c')
-rw-r--r--tests/tget_set_d64.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/tget_set_d64.c b/tests/tget_set_d64.c
index ab123a12e..f58a0aef8 100644
--- a/tests/tget_set_d64.c
+++ b/tests/tget_set_d64.c
@@ -22,6 +22,8 @@ MA 02110-1301, USA. */
#include <stdlib.h> /* for exit */
#include "mpfr-test.h"
+/* #define DEBUG */
+
#if MPFR_WANT_DECIMAL_FLOATS
static void
print_decimal64 (_Decimal64 d)
@@ -202,6 +204,13 @@ main (void)
mpfr_test_init ();
#if MPFR_WANT_DECIMAL_FLOATS
+#ifdef DEBUG
+#ifdef DPD_FORMAT
+ printf ("Using DPD format\n");
+#else
+ printf ("Using BID format\n");
+#endif
+#endif
check_inf_nan ();
check_random ();
#endif
@@ -209,4 +218,3 @@ main (void)
tests_end_mpfr ();
return 0;
}
-