diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-12 17:45:07 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-12 17:45:07 +0000 |
commit | ea6dca2a8a7e7601ce8c03fa308227c09fe70e9c (patch) | |
tree | bf00e7699d6d7852671d646b10366babe6bc503e /tests/tadd1sp.c | |
parent | d6568c76d7e653f2335aee4aeeaa9f80e35d4c4f (diff) | |
download | mpfr-ea6dca2a8a7e7601ce8c03fa308227c09fe70e9c.tar.gz |
Remove use of abort (They can create core dump on some systems).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2839 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tadd1sp.c')
-rw-r--r-- | tests/tadd1sp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tadd1sp.c b/tests/tadd1sp.c index ea1d60d2d..118b0e169 100644 --- a/tests/tadd1sp.c +++ b/tests/tadd1sp.c @@ -50,7 +50,7 @@ int main(void) printf("\nadd1 : "); mpfr_print_binary(a1);\ printf("\nadd1sp: "); mpfr_print_binary(a2);\ putchar('\n');\ - abort();\ + exit(1);\ } #define STD_ERROR2 \ @@ -62,7 +62,7 @@ int main(void) printf("\nA="); mpfr_print_binary(a1);\ printf("\nAdd1: %d. Add1sp: %d\n", \ inexact1, inexact2); \ - abort();\ + exit(1);\ } #define SET_PREC(_p) \ |