From 8328a51518450ad8ddb86e38e7952e28065ff22a Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 18 Aug 2005 15:27:33 +0000 Subject: Updated copyright line. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3724 280ebfd0-de03-0410-8827-d642c229c3f4 --- agm.c | 2 +- extract.c | 2 +- fits_u.h | 2 +- free_cache.c | 2 +- generic.c | 2 +- get_si.c | 2 +- init2.c | 2 +- mpfr-test.h | 2 +- next.c | 2 +- print_raw.c | 2 +- set_f.c | 2 +- tests/cmp_str.c | 17 ++++++++--------- tests/tagm.c | 2 +- tests/tcmp_ui.c | 2 +- tests/tcosh.c | 2 +- tests/tdim.c | 2 +- tests/terf.c | 2 +- tests/tfits.c | 2 +- tests/tgamma.c | 2 +- tests/tget_d.c | 2 +- tests/tnext.c | 2 +- tests/tstrtofr.c | 2 +- tests/tsub_ui.c | 2 +- tests/ttanh.c | 2 +- tests/tversion.c | 2 +- 25 files changed, 32 insertions(+), 33 deletions(-) diff --git a/agm.c b/agm.c index 25f71cd44..304eb7055 100644 --- a/agm.c +++ b/agm.c @@ -1,6 +1,6 @@ /* mpfr_agm -- arithmetic-geometric mean of two floating-point numbers -Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation. This file is part of the MPFR Library. diff --git a/extract.c b/extract.c index c84fd779a..992d5bb55 100644 --- a/extract.c +++ b/extract.c @@ -1,6 +1,6 @@ /* mpfr_extract -- bit-extraction function for the binary splitting algorithm -Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc. +Copyright 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/fits_u.h b/fits_u.h index afc64761e..e3cfd45ef 100644 --- a/fits_u.h +++ b/fits_u.h @@ -1,6 +1,6 @@ /* mpfr_fits_*_p -- test whether an mpfr fits a C unsigned type. -Copyright 2003, 2004 Free Software Foundation. +Copyright 2003, 2004, 2005 Free Software Foundation. Contributed by the Spaces project, INRIA Lorraine. This file is part of the MPFR Library. diff --git a/free_cache.c b/free_cache.c index d103172a7..4190758cc 100644 --- a/free_cache.c +++ b/free_cache.c @@ -1,6 +1,6 @@ /* mpfr_free_cache - Free the cache used by MPFR for internal consts. -Copyright 2004 Free Software Foundation, Inc. +Copyright 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/generic.c b/generic.c index 77f93aaa3..0bdcd13e3 100644 --- a/generic.c +++ b/generic.c @@ -1,6 +1,6 @@ /* generic file for evaluation of hypergeometric series using binary splitting -Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation. This file is part of the MPFR Library. diff --git a/get_si.c b/get_si.c index 4fa36ab73..9d1d801ba 100644 --- a/get_si.c +++ b/get_si.c @@ -1,6 +1,6 @@ /* mpfr_get_si -- convert a floating-point number to a signed long. -Copyright 2003, 2004 Free Software Foundation, Inc. +Copyright 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/init2.c b/init2.c index bcaf37e82..47d7fcaf2 100644 --- a/init2.c +++ b/init2.c @@ -1,6 +1,6 @@ /* mpfr_init2 -- initialize a floating-point number with given precision -Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/mpfr-test.h b/mpfr-test.h index 78019e5dc..ff284a4e5 100644 --- a/mpfr-test.h +++ b/mpfr-test.h @@ -1,6 +1,6 @@ /* auxiliary functions for MPFR tests. -Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/next.c b/next.c index 1a2c20aed..d2711588c 100644 --- a/next.c +++ b/next.c @@ -1,7 +1,7 @@ /* mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward -- next representable floating-point number -Copyright 1999, 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation. Contributed by the Spaces project, INRIA Lorraine. This file is part of the MPFR Library. diff --git a/print_raw.c b/print_raw.c index e4fa5f56b..d3ec64828 100644 --- a/print_raw.c +++ b/print_raw.c @@ -1,7 +1,7 @@ /* mpfr_print_binary -- print the internal binary representation of a floating-point number -Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/set_f.c b/set_f.c index 47330c03b..d6f5d32dd 100644 --- a/set_f.c +++ b/set_f.c @@ -1,6 +1,6 @@ /* mpfr_set_f -- set a MPFR number from a GNU MPF number -Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/tests/cmp_str.c b/tests/cmp_str.c index bcfe58859..2f805a33c 100644 --- a/tests/cmp_str.c +++ b/tests/cmp_str.c @@ -1,6 +1,6 @@ /* mpfr_cmp_str -- compare a floating-point number with a string. -Copyright 2004 Free Software Foundation, Inc. +Copyright 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. @@ -21,17 +21,16 @@ MA 02110-1301, USA. */ #include "mpfr-test.h" -int mpfr_cmp_str(mpfr_srcptr x, const char *s, int base, mp_rnd_t rnd) +int +mpfr_cmp_str (mpfr_srcptr x, const char *s, int base, mp_rnd_t rnd) { mpfr_t y; int res; - MPFR_ASSERTN (!MPFR_IS_NAN(x)); - mpfr_init2(y, MPFR_PREC(x) ); - mpfr_set_str(y, s, base, rnd); - res = mpfr_cmp(x,y); - mpfr_clear(y); + MPFR_ASSERTN (!MPFR_IS_NAN (x)); + mpfr_init2 (y, MPFR_PREC(x)); + mpfr_set_str (y, s, base, rnd); + res = mpfr_cmp (x,y); + mpfr_clear (y); return res; } - - diff --git a/tests/tagm.c b/tests/tagm.c index aec8da49b..6a7d92e24 100644 --- a/tests/tagm.c +++ b/tests/tagm.c @@ -1,6 +1,6 @@ /* Test file for mpfr_agm. -Copyright 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/tests/tcmp_ui.c b/tests/tcmp_ui.c index 6080df616..609c51fcb 100644 --- a/tests/tcmp_ui.c +++ b/tests/tcmp_ui.c @@ -1,6 +1,6 @@ /* Test file for mpfr_cmp_ui and mpfr_cmp_si. -Copyright 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/tests/tcosh.c b/tests/tcosh.c index eb4ede580..d1ab9b0a1 100644 --- a/tests/tcosh.c +++ b/tests/tcosh.c @@ -1,6 +1,6 @@ /* Test file for mpfr_cosh. -Copyright 2001, 2002, 2004 Free Software Foundation. +Copyright 2001, 2002, 2004, 2005 Free Software Foundation. Adapted from tatan.c. This file is part of the MPFR Library. diff --git a/tests/tdim.c b/tests/tdim.c index 7345a1e5c..f71a7def1 100644 --- a/tests/tdim.c +++ b/tests/tdim.c @@ -1,6 +1,6 @@ /* Test file for mpfr_dim. -Copyright 2004 Free Software Foundation, Inc. +Copyright 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/tests/terf.c b/tests/terf.c index cd3668606..ac5ebc2af 100644 --- a/tests/terf.c +++ b/tests/terf.c @@ -1,6 +1,6 @@ /* Test file for mpfr_erf. -Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Ludovic Meunier and Paul Zimmermann. This file is part of the MPFR Library. diff --git a/tests/tfits.c b/tests/tfits.c index 13725d04d..b73c15ab3 100644 --- a/tests/tfits.c +++ b/tests/tfits.c @@ -2,7 +2,7 @@ mpfr_fits_sint_p, mpfr_fits_slong_p, mpfr_fits_sshort_p, mpfr_fits_uint_p, mpfr_fits_ulong_p, mpfr_fits_ushort_p -Copyright 2004 Free Software Foundation, Inc. +Copyright 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/tests/tgamma.c b/tests/tgamma.c index 47ce06df1..0e0c75c43 100644 --- a/tests/tgamma.c +++ b/tests/tgamma.c @@ -1,6 +1,6 @@ /* mpfr_tgamma -- test file for gamma function -Copyright 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation. This file is part of the MPFR Library, and was contributed by Mathieu Dutour. diff --git a/tests/tget_d.c b/tests/tget_d.c index f8d86c326..45a2a8da7 100644 --- a/tests/tget_d.c +++ b/tests/tget_d.c @@ -1,6 +1,6 @@ /* Test file for mpfr_get_d -Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation. This file is part of the MPFR Library. diff --git a/tests/tnext.c b/tests/tnext.c index 9a76ab351..1576fce6a 100644 --- a/tests/tnext.c +++ b/tests/tnext.c @@ -1,6 +1,6 @@ /* Test file for mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward. -Copyright 2003, 2004 Free Software Foundation. +Copyright 2003, 2004, 2005 Free Software Foundation. This file is part of the MPFR Library. diff --git a/tests/tstrtofr.c b/tests/tstrtofr.c index 8bd7ec6b9..b9e1cdcae 100644 --- a/tests/tstrtofr.c +++ b/tests/tstrtofr.c @@ -1,6 +1,6 @@ /* Test file for mpfr_set_str. -Copyright 2004 Free Software Foundation, Inc. +Copyright 2004, 2005 Free Software Foundation, Inc. This file is part of the MPFR Library. diff --git a/tests/tsub_ui.c b/tests/tsub_ui.c index 5d1c8edb3..a64503170 100644 --- a/tests/tsub_ui.c +++ b/tests/tsub_ui.c @@ -1,6 +1,6 @@ /* Test file for mpfr_sub_ui -Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation. This file is part of the MPFR Library. diff --git a/tests/ttanh.c b/tests/ttanh.c index bef5f5310..98acc0964 100644 --- a/tests/ttanh.c +++ b/tests/ttanh.c @@ -1,6 +1,6 @@ /* Test file for mpfr_tanh. -Copyright 2001, 2002, 2003, 2004 Free Software Foundation. +Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation. Adapted from tarctan.c. This file is part of the MPFR Library. diff --git a/tests/tversion.c b/tests/tversion.c index e76e8a679..cf8ed12ea 100644 --- a/tests/tversion.c +++ b/tests/tversion.c @@ -1,6 +1,6 @@ /* Test file for mpfr_version. -Copyright 2004 Free Software Foundation. +Copyright 2004, 2005 Free Software Foundation. This file is part of the MPFR Library. -- cgit v1.2.1