X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fexpl.c;h=202d35952ec8465227ed876442e437b825deffa5;hb=6d03958a046c6783210c538dd9f656553434a804;hp=122e1891291a7a9ae9f1fe0a9a34a731f74bc58d;hpb=5657b2536d242966c41c268b9ab4fe8df727bb13;p=gnulib.git
diff --git a/lib/expl.c b/lib/expl.c
index 122e18912..202d35952 100644
--- a/lib/expl.c
+++ b/lib/expl.c
@@ -1,30 +1,29 @@
/* Emulation for expl.
Contributed by Paolo Bonzini
- Copyright 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2002, 2003, 2007 Free Software Foundation, Inc.
This file is part of gnulib.
- gnulib is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published
- by the Free Software Foundation; either version 2.1, or (at your option)
- any later version.
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
- gnulib 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 Lesser General Public
- License for more details.
+ This program 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 General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License
- along with gnulib; see the file COPYING.LIB. If not, write to the Free
- Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
- USA.
- */
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
-#include
+#include
+
+/* Specification. */
#include
-#include "mathl.h"
+#include
static const long double C[] = {
/* Chebyshev polynom coeficients for (exp(x)-1)/x */
@@ -121,7 +120,7 @@ expl (long double x)
#if 0
int
-main ()
+main (void)
{
printf ("%.16Lg\n", expl(1.0L));
printf ("%.16Lg\n", expl(-1.0L));