summaryrefslogtreecommitdiff
path: root/extract-dbl.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-12-01 02:53:35 +0100
committertege <tege@gmplib.org>2002-12-01 02:53:35 +0100
commit80d67f4c0cbf106cb999cc2f9d1d91d837780af6 (patch)
treea2849e19f6c9ae8685974399dbbfe57032dfc40a /extract-dbl.c
parent0995cfd905c72515e85c5a802a307608d141d181 (diff)
downloadgmp-80d67f4c0cbf106cb999cc2f9d1d91d837780af6.tar.gz
abort => ASSERT_ALWAYS.
Diffstat (limited to 'extract-dbl.c')
-rw-r--r--extract-dbl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extract-dbl.c b/extract-dbl.c
index 1a7e37b42..33cecef43 100644
--- a/extract-dbl.c
+++ b/extract-dbl.c
@@ -116,8 +116,7 @@ __gmp_extract_double (mp_ptr rp, double d)
exp = 0;
if (d >= 1.0)
{
- if (d * 0.5 == d)
- abort ();
+ ASSERT_ALWAYS (d * 0.5 != d);
while (d >= 32768.0)
{