summaryrefslogtreecommitdiff
path: root/mpfr/eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpfr/eq.c')
-rw-r--r--mpfr/eq.c28
1 files changed, 10 insertions, 18 deletions
diff --git a/mpfr/eq.c b/mpfr/eq.c
index 95b04a986..792728ad0 100644
--- a/mpfr/eq.c
+++ b/mpfr/eq.c
@@ -1,23 +1,22 @@
/* mpfr_eq -- Compare two floats up to a specified bit #.
-Copied from mpf_eq.
+Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+(Copied from GNU MP, file mpf_eq.)
-Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
+This file is part of the MPFR Library.
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
+The MPFR Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
-The GNU MP Library is distributed in the hope that it will be useful, but
+The MPFR Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+You should have received a copy of the GNU Lesser General Public License
+along with the MPFR Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
@@ -28,14 +27,7 @@ MA 02111-1307, USA. */
#include "mpfr-impl.h"
int
-#if __STDC__
mpfr_eq (mpfr_srcptr u, mpfr_srcptr v, unsigned long int n_bits)
-#else
-mpfr_eq (u, v, n_bits)
- mpfr_srcptr u;
- mpfr_srcptr v;
- unsigned long int n_bits;
-#endif
{
mp_srcptr up, vp;
mp_size_t usize, vsize, size, i;