summaryrefslogtreecommitdiff
path: root/tests/read_data.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-12-09 19:29:03 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-12-09 19:29:03 +0000
commit1100e2290732e9fd296aafdd0fecd5e0b6b2d411 (patch)
tree44f50a7a47acf840a62d3cfdbccf6a6a0c9be2d5 /tests/read_data.c
parentfb12b07ad5c9b4c181c54455f438eaf448c3ca03 (diff)
downloadmpc-1100e2290732e9fd296aafdd0fecd5e0b6b2d411.tar.gz
[sqrt.c] introduced ternary return value for special, purely real
and purely imaginary arguments [sqrt.dat] added ternary return value for such arguments [read_data.c] output '?' instead of 'x' for unchecked return value git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@402 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/read_data.c')
-rw-r--r--tests/read_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/read_data.c b/tests/read_data.c
index f2c5d02..c958bd9 100644
--- a/tests/read_data.c
+++ b/tests/read_data.c
@@ -42,7 +42,7 @@ static int nextchar;
(((r) == __NOT_CHECKED || (r) == MPC_INEX_RE(c)) \
&& ((i) == __NOT_CHECKED || (i) == MPC_INEX_IM (c)))
#define MPFR_INEX_STR(inex) \
- (inex) == __NOT_CHECKED ? "x" \
+ (inex) == __NOT_CHECKED ? "?" \
: (inex) == +1 ? "+1" \
: (inex) == -1 ? "-1" : "0"
#define MPC_INEX_STR(inex) \