summaryrefslogtreecommitdiff
path: root/tests/ttrunc.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-09-22 00:15:49 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-09-22 00:15:49 +0000
commit82f89150b90c80de5cceeb809b4d673170b2683b (patch)
tree6d08b7d3eefcb4f7e3c94a5ec189d0c163fced05 /tests/ttrunc.c
parent31b0a730179051aa500c033e66eefc4afa423897 (diff)
downloadmpfr-82f89150b90c80de5cceeb809b4d673170b2683b.tar.gz
GNU coding style, reformatting, exit (-1) -> exit (1).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4865 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/ttrunc.c')
-rw-r--r--tests/ttrunc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ttrunc.c b/tests/ttrunc.c
index 976d23cfb..6a2462cc7 100644
--- a/tests/ttrunc.c
+++ b/tests/ttrunc.c
@@ -98,7 +98,7 @@ main (void)
printf("\n");
printf("round(x, RNDD) = "); mpfr_print_binary(y2);
printf("\n");
- exit(-1);
+ exit(1);
}
if (!mpfr_eq(z, z2, k))
@@ -109,7 +109,7 @@ main (void)
printf("\n");
printf("round(x, RNDZ) = "); mpfr_print_binary(z2);
printf("\n");
- exit(-1);
+ exit(1);
}
if (!mpfr_eq(y, y2, k))
@@ -120,7 +120,7 @@ main (void)
printf("\n");
printf("round(x, RNDU) = "); mpfr_print_binary(t2);
printf("\n");
- exit(-1);
+ exit(1);
}
MPFR_EXP(x)++;
}