X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/08b3caa982199bd7939d9d6877203ada5d0083b5..c17819f4cd58df1a0a17593152e32fee70cc90f7:/src/floatfns.c diff --git a/src/floatfns.c b/src/floatfns.c index 8ee28210e4..f31136d0b4 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -1,6 +1,9 @@ /* Primitive operations on floating point for GNU Emacs Lisp interpreter. Copyright (C) 1988, 1993, 1994, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + +Author: Wolfgang Rupprecht +(according to ack.texi) This file is part of GNU Emacs. @@ -45,6 +48,7 @@ along with GNU Emacs. If not, see . */ #include #include +#include #include "lisp.h" #include "syssignal.h" @@ -101,16 +105,6 @@ extern int errno; #endif #endif -/* Avoid traps on VMS from sinh and cosh. - All the other functions set errno instead. */ - -#ifdef VMS -#undef cosh -#undef sinh -#define cosh(x) ((exp(x)+exp(-x))*0.5) -#define sinh(x) ((exp(x)-exp(-x))*0.5) -#endif /* VMS */ - #ifdef FLOAT_CATCH_SIGILL static SIGTYPE float_error (); #endif