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 | |
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
-rw-r--r-- | add.c | 22 | ||||
-rw-r--r-- | add_ulp.c | 21 | ||||
-rw-r--r-- | agm.c | 21 | ||||
-rw-r--r-- | clear.c | 21 | ||||
-rw-r--r-- | cmp.c | 35 | ||||
-rw-r--r-- | cmp_ui.c | 21 | ||||
-rw-r--r-- | div.c | 21 | ||||
-rw-r--r-- | div3.c | 21 | ||||
-rw-r--r-- | div_2exp.c | 21 | ||||
-rw-r--r-- | div_ui.c | 21 | ||||
-rw-r--r-- | exp.c | 21 | ||||
-rw-r--r-- | get_str.c | 21 | ||||
-rw-r--r-- | init.c | 21 | ||||
-rw-r--r-- | init_set.h | 21 | ||||
-rw-r--r-- | log.c | 21 | ||||
-rw-r--r-- | log2.c | 21 | ||||
-rw-r--r-- | mpfr-impl.h | 21 | ||||
-rw-r--r-- | mpfr.h | 22 | ||||
-rw-r--r-- | mul.c | 21 | ||||
-rw-r--r-- | mul_2exp.c | 21 | ||||
-rw-r--r-- | mul_ui.c | 21 | ||||
-rw-r--r-- | neg.c | 21 | ||||
-rw-r--r-- | out_str.c | 21 | ||||
-rw-r--r-- | pi.c | 35 | ||||
-rw-r--r-- | pow.c | 22 | ||||
-rw-r--r-- | print_raw.c | 22 | ||||
-rw-r--r-- | print_rnd_mode.c | 21 | ||||
-rw-r--r-- | random.c | 21 | ||||
-rw-r--r-- | rnd_mode.c | 27 | ||||
-rw-r--r-- | round.c | 22 | ||||
-rw-r--r-- | set.c | 20 | ||||
-rw-r--r-- | set_d.c | 22 | ||||
-rw-r--r-- | set_dfl_prec.c | 21 | ||||
-rw-r--r-- | set_dfl_rnd.c | 21 | ||||
-rw-r--r-- | set_f.c | 21 | ||||
-rw-r--r-- | set_prec.c | 21 | ||||
-rw-r--r-- | set_si.c | 21 | ||||
-rw-r--r-- | set_str_raw.c | 21 | ||||
-rw-r--r-- | set_z.c | 21 | ||||
-rw-r--r-- | sqrt.c | 21 | ||||
-rw-r--r-- | sqrt3.c | 21 | ||||
-rw-r--r-- | sub.c | 21 | ||||
-rw-r--r-- | tests/tadd.c | 21 | ||||
-rw-r--r-- | tests/tagm.c | 21 | ||||
-rw-r--r-- | tests/tcan_round.c | 21 | ||||
-rw-r--r-- | tests/tcmp.c | 21 | ||||
-rw-r--r-- | tests/tcmp2.c | 21 | ||||
-rw-r--r-- | tests/tcmp_ui.c | 21 | ||||
-rw-r--r-- | tests/tdiv.c | 21 | ||||
-rw-r--r-- | tests/tdiv_ui.c | 21 | ||||
-rw-r--r-- | tests/texp.c | 21 | ||||
-rw-r--r-- | tests/tget_str.c | 21 | ||||
-rw-r--r-- | tests/tlog.c | 21 | ||||
-rw-r--r-- | tests/tlog2.c | 21 | ||||
-rw-r--r-- | tests/tmul.c | 21 | ||||
-rw-r--r-- | tests/tmul_2exp.c | 21 | ||||
-rw-r--r-- | tests/tmul_ui.c | 21 | ||||
-rw-r--r-- | tests/tout_str.c | 21 | ||||
-rw-r--r-- | tests/tpi.c | 21 | ||||
-rw-r--r-- | tests/tround.c | 21 | ||||
-rw-r--r-- | tests/tset_d.c | 21 | ||||
-rw-r--r-- | tests/tset_f.c | 21 | ||||
-rw-r--r-- | tests/tset_si.c | 21 | ||||
-rw-r--r-- | tests/tset_str.c | 21 | ||||
-rw-r--r-- | tests/tset_z.c | 21 | ||||
-rw-r--r-- | tests/tsqrt.c | 21 | ||||
-rw-r--r-- | tests/tzeta.c | 21 | ||||
-rw-r--r-- | zeta.c | 21 |
68 files changed, 1443 insertions, 24 deletions
@@ -1,7 +1,23 @@ -/* (c) PolKA project, Inria Lorraine */ -/* written by Paul Zimmermann, February 1999 */ -/* to do: - destination may be identical to operands */ +/* mpfr_add -- add two floating-point numbers +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_add_one_ulp, mpfr_sub_one_ulp -- add/subtract one unit in last place + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 "gmp.h" #include "gmp-impl.h" #include "mpfr.h" @@ -1,3 +1,24 @@ +/* mpfr_agm -- arithmetic-geometric mean of two floating-point numbers + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" @@ -1,3 +1,24 @@ +/* mpfr_clear -- free the memory space allocated for a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -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 */ @@ -1,4 +1,23 @@ -/* (c) PolKA project at Inria Lorraine */ +/* mpfr_cmp_ui -- compare a floating-point number with a machine integer + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_div -- divide two floating-point numbers + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> @@ -1,3 +1,24 @@ +/* mpfr_div3 -- divide two floating-point numbers + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/div_2exp.c b/div_2exp.c index 961c5d33d..e7602db44 100644 --- a/div_2exp.c +++ b/div_2exp.c @@ -1,3 +1,24 @@ +/* mpfr_div_2exp -- divide a floating-point number by a power of two + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_div_ui -- divide a floating-point number by a machine integer + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_exp -- exponential of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" @@ -1,3 +1,24 @@ +/* mpfr_get_str -- output a floating-point number to a string + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> @@ -1,3 +1,24 @@ +/* mpfr_init -- initialize a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/init_set.h b/init_set.h index f779fee12..209fd7b59 100644 --- a/init_set.h +++ b/init_set.h @@ -1,3 +1,24 @@ +/* Macros for combined initialization and assignement functions. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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. */ + #define mpfr_init_set_si(x, i, p, rnd) {\ mpfr_init2((x), (p)); \ mpfr_set_si((x), (i), (rnd)); \ @@ -1,3 +1,24 @@ +/* mpfr_log -- natural logarithm of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" @@ -1,3 +1,24 @@ +/* mpfr_log2 -- compute natural logarithm of 2 + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" diff --git a/mpfr-impl.h b/mpfr-impl.h index c1073f9d0..32a5d759c 100644 --- a/mpfr-impl.h +++ b/mpfr-impl.h @@ -1,3 +1,24 @@ +/* Utilities for MPFR developers, not exported. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> /* generate a random double using the whole range of possible values, @@ -1,3 +1,24 @@ +/* mpfr.h -- Include file for mpfr. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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> /* Definition of rounding modes */ @@ -96,6 +117,7 @@ void mpfr_set_f _PROTO ((mpfr_ptr, mpf_srcptr, unsigned long, char)); void mpfr_set_si _PROTO ((mpfr_ptr, long, unsigned char)); void mpfr_set_ui _PROTO ((mpfr_ptr, unsigned long, unsigned char)); void mpfr_print_raw _PROTO ((mpfr_srcptr)); +void mpfr_random _PROTO ((mpfr_srcptr)); void mpfr_clear _PROTO ((mpfr_ptr)); void mpfr_set_str_raw _PROTO ((mpfr_ptr, char *)); void mpfr_get_str_raw _PROTO ((char *, mpfr_srcptr)); @@ -1,4 +1,23 @@ -/* written by Paul Zimmermann, November 1998-January 1999 */ +/* mpfr_mul -- multiply two floating-point numbers + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/mul_2exp.c b/mul_2exp.c index db4be64c2..31dab2ac6 100644 --- a/mul_2exp.c +++ b/mul_2exp.c @@ -1,3 +1,24 @@ +/* mpfr_mul_2exp -- multiply a floating-point number by a power of two + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_mul_ui -- multiply a floating-point number by a machine integer + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_neg -- change the sign of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_out_str -- output a floating-point number to a stream + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" @@ -1,3 +1,31 @@ +/* mpfr_pi -- compute Pi + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> +#include "gmp.h" +#include "gmp-impl.h" +#include "longlong.h" +#include "mpfr.h" + /* Set x to the value of Pi to precision PREC(x) rounded to direction rnd_mode. Use the formula giving the binary representation of Pi found by Simon Plouffe @@ -28,13 +56,6 @@ S(N)-S'(N) <= sum(1, n=0..N-1) = N so Pi*16^N-S'(N) <= N+1 (as 1/4/N^2 < 1) */ -#include <stdio.h> -#include <math.h> -#include "gmp.h" -#include "gmp-impl.h" -#include "longlong.h" -#include "mpfr.h" - mpfr_t __mpfr_pi; /* stored value of Pi */ int __mpfr_pi_prec=0; /* precision of stored value */ char __mpfr_pi_rnd; /* rounding mode of stored value */ @@ -1,3 +1,25 @@ +/* mpfr_pow_ui, mpfr_ui_pow_ui -- compute the power of a floating-point + number or machine integer + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 "mpfr.h" diff --git a/print_raw.c b/print_raw.c index 515b701f5..4ff68bcaf 100644 --- a/print_raw.c +++ b/print_raw.c @@ -1,3 +1,25 @@ +/* mpfr_print_raw -- print the internal binary representation of a + floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/print_rnd_mode.c b/print_rnd_mode.c index 44f78cfcc..a7bc1d06d 100644 --- a/print_rnd_mode.c +++ b/print_rnd_mode.c @@ -1,3 +1,24 @@ +/* mpfr_print_rnd_mode -- convert a given rounding mode to a string + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_random -- generate a random floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/rnd_mode.c b/rnd_mode.c index b4c59d9a0..e457d3c85 100644 --- a/rnd_mode.c +++ b/rnd_mode.c @@ -1,11 +1,32 @@ -/* functions to set/get the machine rounding mode, - this should use the interface from the ISO C9X draft - (file <fenv.h>) */ +/* mpfr_set_machine_rnd_mode -- set the rounding mode for machine floats + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 "mpfr.h" +/* functions to set/get the machine rounding mode, + this should use the interface from the ISO C9X draft + (file <fenv.h>) */ + #ifdef IRIX64 #include <sys/fpu.h> extern int swapRM(); @@ -1,3 +1,25 @@ +/* mpfr_round_raw2, mpfr_round_raw, mpfr_round, mpfr_can_round, + mpfr_can_round_raw -- various rounding functions + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,23 @@ +/* mpfr_set -- copy of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,25 @@ +/* mpfr_set_d, mpfr_get_d -- convert a multiple precision floating-point number + from/to a machine double precision float + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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. */ + #if __GNUC__ /* gcc "patched" headers seem to omit isnan... */ extern int isnan(double); #endif diff --git a/set_dfl_prec.c b/set_dfl_prec.c index aa7b7b668..aa341be8a 100644 --- a/set_dfl_prec.c +++ b/set_dfl_prec.c @@ -1,3 +1,24 @@ +/* mpfr_set_default_prec -- set the default precision + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 "gmp.h" #include "gmp-impl.h" diff --git a/set_dfl_rnd.c b/set_dfl_rnd.c index efef4d388..cf8fd0175 100644 --- a/set_dfl_rnd.c +++ b/set_dfl_rnd.c @@ -1,3 +1,24 @@ +/* mpfr_set_default_rounding_mode -- set the default rounding mode + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 "gmp.h" #include "gmp-impl.h" @@ -1,3 +1,24 @@ +/* mpfr_set_f -- set a MPFR number from a GNU MPF number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/set_prec.c b/set_prec.c index 8a3cc0110..d85eac3c3 100644 --- a/set_prec.c +++ b/set_prec.c @@ -1,3 +1,24 @@ +/* mpfr_set_prec -- reset the precision of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" @@ -1,3 +1,24 @@ +/* mpfr_set_si, mpfr_set_ui -- set a MPFR number from a machine integer + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/set_str_raw.c b/set_str_raw.c index 5da0c3e89..53b319821 100644 --- a/set_str_raw.c +++ b/set_str_raw.c @@ -1,3 +1,24 @@ +/* mpfr_set_str_raw -- set a floating-point number from a binary string + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #ifdef HAS_STRING_H @@ -1,3 +1,24 @@ +/* mpfr_set_z -- set a floating-point number from a multiple-precision integer + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 "gmp.h" #include "gmp-impl.h" #include "longlong.h" @@ -1,3 +1,24 @@ +/* mpfr_sqrt -- square root of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" @@ -1,3 +1,24 @@ +/* mpfr_sqrt3 -- square root of a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> @@ -1,3 +1,24 @@ +/* mpfr_sub -- subtract two floating-point numbers + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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" diff --git a/tests/tadd.c b/tests/tadd.c index 6f2ea79c0..b0ce01648 100644 --- a/tests/tadd.c +++ b/tests/tadd.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_add and mpfr_sub. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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. */ + /* #define DEBUG */ /* #define VERBOSE */ diff --git a/tests/tagm.c b/tests/tagm.c index 228920270..a1583a81b 100644 --- a/tests/tagm.c +++ b/tests/tagm.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_agm. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/tcan_round.c b/tests/tcan_round.c index ccff1daec..db42e6668 100644 --- a/tests/tcan_round.c +++ b/tests/tcan_round.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_can_round. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tcmp.c b/tests/tcmp.c index 1cc814b7c..d4a6d05d7 100644 --- a/tests/tcmp.c +++ b/tests/tcmp.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_cmp. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <math.h> diff --git a/tests/tcmp2.c b/tests/tcmp2.c index 42be28ee8..951257ff6 100644 --- a/tests/tcmp2.c +++ b/tests/tcmp2.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_cmp2. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <math.h> diff --git a/tests/tcmp_ui.c b/tests/tcmp_ui.c index 901f047d2..60156566b 100644 --- a/tests/tcmp_ui.c +++ b/tests/tcmp_ui.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_cmp_ui. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <math.h> diff --git a/tests/tdiv.c b/tests/tdiv.c index d2137e643..a6b628c6b 100644 --- a/tests/tdiv.c +++ b/tests/tdiv.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_div. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/tdiv_ui.c b/tests/tdiv_ui.c index d5beb22cf..c42b0ea82 100644 --- a/tests/tdiv_ui.c +++ b/tests/tdiv_ui.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_div_ui. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/texp.c b/tests/texp.c index f5adf6393..2744f358f 100644 --- a/tests/texp.c +++ b/tests/texp.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_exp. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdlib.h> #include "gmp.h" diff --git a/tests/tget_str.c b/tests/tget_str.c index 3e2d0b7e1..ce1f81d6c 100644 --- a/tests/tget_str.c +++ b/tests/tget_str.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_get_str. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/tlog.c b/tests/tlog.c index 701fd228f..600ac6cc6 100644 --- a/tests/tlog.c +++ b/tests/tlog.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_log. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <unistd.h> diff --git a/tests/tlog2.c b/tests/tlog2.c index d0815c25b..967a16259 100644 --- a/tests/tlog2.c +++ b/tests/tlog2.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_log2. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" #include "mpfr.h" diff --git a/tests/tmul.c b/tests/tmul.c index 66025addc..38be7db42 100644 --- a/tests/tmul.c +++ b/tests/tmul.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_mul. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tmul_2exp.c b/tests/tmul_2exp.c index ad7f0ef56..a5a3b2186 100644 --- a/tests/tmul_2exp.c +++ b/tests/tmul_2exp.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_mul_2exp. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <time.h> diff --git a/tests/tmul_ui.c b/tests/tmul_ui.c index de039632d..9da76c5f6 100644 --- a/tests/tmul_ui.c +++ b/tests/tmul_ui.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_mul_ui. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tout_str.c b/tests/tout_str.c index 614f5a929..d09e637a8 100644 --- a/tests/tout_str.c +++ b/tests/tout_str.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_out_str. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/tpi.c b/tests/tpi.c index 748e90010..1cb743790 100644 --- a/tests/tpi.c +++ b/tests/tpi.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_pi. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" #include "mpfr.h" diff --git a/tests/tround.c b/tests/tround.c index 1a743781e..8c672b566 100644 --- a/tests/tround.c +++ b/tests/tround.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_round. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tset_d.c b/tests/tset_d.c index 3965c70e6..b96a1dd55 100644 --- a/tests/tset_d.c +++ b/tests/tset_d.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_set_d and mpfr_get_d. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <time.h> diff --git a/tests/tset_f.c b/tests/tset_f.c index 50d627d88..31f63615c 100644 --- a/tests/tset_f.c +++ b/tests/tset_f.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_set_f. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tset_si.c b/tests/tset_si.c index 7d3214d2c..9dc60847b 100644 --- a/tests/tset_si.c +++ b/tests/tset_si.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_set_si and mpfr_set_ui. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tset_str.c b/tests/tset_str.c index ecc7a0c41..762495864 100644 --- a/tests/tset_str.c +++ b/tests/tset_str.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_set_str. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include "gmp.h" diff --git a/tests/tset_z.c b/tests/tset_z.c index 42cef1645..780386446 100644 --- a/tests/tset_z.c +++ b/tests/tset_z.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_set_z. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <stdlib.h> #include <unistd.h> #include "gmp.h" diff --git a/tests/tsqrt.c b/tests/tsqrt.c index 4e4a29e2c..fcb380e64 100644 --- a/tests/tsqrt.c +++ b/tests/tsqrt.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_sqrt. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/tzeta.c b/tests/tzeta.c index 2dfe0b673..45129f4ae 100644 --- a/tests/tzeta.c +++ b/tests/tzeta.c @@ -1,3 +1,24 @@ +/* Test file for mpfr_zeta. + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" @@ -1,3 +1,24 @@ +/* mpfr_zeta -- Riemann Zeta function at a floating-point number + +Copyright (C) 1999 PolKA project, Inria Lorraine and Loria + +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 <math.h> #include "gmp.h" |