changeset 85255:09574ceaf070

Replace `abs' with `eabs'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Oct 2007 12:44:11 +0000
parents 8004c957b946
children 6ba13006da6d
files src/intervals.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Sat Oct 13 12:43:49 2007 +0000
+++ b/src/intervals.c	Sat Oct 13 12:44:11 2007 +0000
@@ -427,7 +427,7 @@
 	  /* Since the left child is longer, there must be one.  */
 	  new_diff = i->total_length - i->left->total_length
 	    + RIGHT_TOTAL_LENGTH (i->left) - LEFT_TOTAL_LENGTH (i->left);
-	  if (abs (new_diff) >= old_diff)
+	  if (eabs (new_diff) >= old_diff)
 	    break;
 	  i = rotate_right (i);
 	  balance_an_interval (i->right);
@@ -437,7 +437,7 @@
 	  /* Since the right child is longer, there must be one.  */
 	  new_diff = i->total_length - i->right->total_length
 	    + LEFT_TOTAL_LENGTH (i->right) - RIGHT_TOTAL_LENGTH (i->right);
-	  if (abs (new_diff) >= -old_diff)
+	  if (eabs (new_diff) >= -old_diff)
 	    break;
 	  i = rotate_left (i);
 	  balance_an_interval (i->left);