From e485a681edbad407b8ef172d9149d5ee2b4d91c2 Mon Sep 17 00:00:00 2001 From: zimmerma Date: Fri, 30 Jul 1999 16:47:40 +0000 Subject: added copyright notice git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@364 280ebfd0-de03-0410-8827-d642c229c3f4 --- cmp.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'cmp.c') diff --git a/cmp.c b/cmp.c index c12ad4ba6..9d8dc3491 100644 --- a/cmp.c +++ b/cmp.c @@ -1,8 +1,31 @@ -/* (c) PolKA project at Inria Lorraine +/* mpfr_cmp -- compare two floating-point numbers -written by Paul Zimmermann, February 1999 +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria - returns 0 iff b = c +This file is part of the MPFR Library. + +The MPFR 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 +option) any later version. + +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 +License for more details. + +You should have received a copy of the GNU Library 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. */ + +#include +#include "gmp.h" +#include "gmp-impl.h" +#include "longlong.h" +#include "mpfr.h" + +/* returns 0 iff b = c a positive value iff b > c a negative value iff b < c @@ -13,12 +36,6 @@ of b and c, i.e. one plus the number of bits shifts to align b and c */ -#include -#include "gmp.h" -#include "gmp-impl.h" -#include "longlong.h" -#include "mpfr.h" - /* #define DEBUG */ /* compares b and sign(s)*c */ -- cgit v1.2.1