diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-07-30 16:47:40 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-07-30 16:47:40 +0000 |
commit | e485a681edbad407b8ef172d9149d5ee2b4d91c2 (patch) | |
tree | 4836978bb04cd9d574b26eef91bc25a503514905 /cmp.c | |
parent | fb87adb3353db2630fda27938b3edb5db0793cd4 (diff) | |
download | mpfr-e485a681edbad407b8ef172d9149d5ee2b4d91c2.tar.gz |
added copyright notice
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@364 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cmp.c')
-rw-r--r-- | cmp.c | 35 |
1 files changed, 26 insertions, 9 deletions
@@ -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 <stdio.h> +#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 <stdio.h> -#include "gmp.h" -#include "gmp-impl.h" -#include "longlong.h" -#include "mpfr.h" - /* #define DEBUG */ /* compares b and sign(s)*c */ |