X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fexpl.c;h=a3bb1ffded737923f1aa7423ff4f6da41cd996ee;hb=fb7fde6f658ac18b7ab7ca61dca9a290cc8c3348;hp=7c3c5ec6625a1225716561f6aec35e34eabec63f;hpb=d0723a1652f9f002aa800cd618fd52717b980b18;p=gnulib.git diff --git a/lib/expl.c b/lib/expl.c index 7c3c5ec66..a3bb1ffde 100644 --- a/lib/expl.c +++ b/lib/expl.c @@ -1,7 +1,7 @@ /* 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. @@ -17,12 +17,14 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include +#include + +/* Specification. */ #include -#include "mathl.h" +#include static const long double C[] = { /* Chebyshev polynom coeficients for (exp(x)-1)/x */ @@ -119,7 +121,7 @@ expl (long double x) #if 0 int -main () +main (void) { printf ("%.16Lg\n", expl(1.0L)); printf ("%.16Lg\n", expl(-1.0L));