summaryrefslogtreecommitdiff
path: root/cmp2.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2004-01-07 13:27:29 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2004-01-07 13:27:29 +0000
commit5880cff91d98150929014693d2e2d0bf47871874 (patch)
treeb088f4a71e663d6110cd085afe6df6f67822e400 /cmp2.c
parent5b7c92491030ec8fbcc80ce08d1fd69ae115ebda (diff)
downloadmpfr-5880cff91d98150929014693d2e2d0bf47871874.tar.gz
Clarified comment.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2600 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cmp2.c')
-rw-r--r--cmp2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmp2.c b/cmp2.c
index 4b260feff..055b5a903 100644
--- a/cmp2.c
+++ b/cmp2.c
@@ -1,6 +1,6 @@
/* mpfr_cmp2 -- exponent shift when subtracting two numbers.
-Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation.
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation.
This file is part of the MPFR Library.
@@ -25,8 +25,8 @@ MA 02111-1307, USA. */
#include "mpfr.h"
#include "mpfr-impl.h"
-/* Returns the number of canceled bits when one subtracts |c| from |b|
- if |b| != |c|, and the sign.
+/* If |b| != |c|, puts the number of canceled bits when one subtracts |c|
+ from |b| in *cancel. Returns the sign of the difference.
Assumes neither of b or c is NaN or +/- infinity.