summaryrefslogtreecommitdiff
path: root/agm.c
diff options
context:
space:
mode:
Diffstat (limited to 'agm.c')
-rw-r--r--agm.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/agm.c b/agm.c
index ad992fb74..b1c171592 100644
--- a/agm.c
+++ b/agm.c
@@ -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"