summaryrefslogtreecommitdiff
path: root/lib/atanl.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-02-18 15:10:28 +0000
committerBruno Haible <bruno@clisp.org>2007-02-18 15:10:28 +0000
commite1123c2f4fedae90435426a82a05cf2e3233e97d (patch)
treecd6fcc768d636abc63e601a545cd352ccd2ed5cf /lib/atanl.c
parentd9a58db4fa4dc35c7166db177a5e38a2f82e7ee6 (diff)
downloadgnulib-e1123c2f4fedae90435426a82a05cf2e3233e97d.tar.gz
New module 'math'. <math.h> replaces mathl.h.
Diffstat (limited to 'lib/atanl.c')
-rw-r--r--lib/atanl.c42
1 files changed, 22 insertions, 20 deletions
diff --git a/lib/atanl.c b/lib/atanl.c
index 07b8f6a593..16c8dc12bf 100644
--- a/lib/atanl.c
+++ b/lib/atanl.c
@@ -1,3 +1,25 @@
+/* Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov>
+
+ 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 2, or (at your option)
+ any later version.
+
+ 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 General Public License
+ along with this program; see the file COPYING.
+ If not, write to the Free Software Foundation,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+#include <config.h>
+
+/* Specification. */
+#include <math.h>
+
/* s_atanl.c
*
* Inverse circular tangent for 128-bit long double precision
@@ -42,26 +64,6 @@
*
*/
-/* Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov>
-
- 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 2, or (at your option)
- any later version.
-
- 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 General Public License
- along with this program; see the file COPYING.
- If not, write to the Free Software Foundation,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-
-#include "mathl.h"
-
-#include <math.h>
/* arctan(k/8), k = 0, ..., 82 */
static const long double atantbl[84] = {