summaryrefslogtreecommitdiff
path: root/tests/tatan.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-09-29 17:01:02 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-09-29 17:01:02 +0000
commit1c14dcdd7eb6d920658f2a8abc967e7cb419ab43 (patch)
treec28c5e4fcd8d41eef9124ff8409c32a0ce9d53e1 /tests/tatan.c
parent5333fc99486311b47fc8a46438d99cf28b5b3298 (diff)
downloadmpc-1c14dcdd7eb6d920658f2a8abc967e7cb419ab43.tar.gz
missing files for the new mpc_atan function
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@683 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tatan.c')
-rw-r--r--tests/tatan.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/tatan.c b/tests/tatan.c
new file mode 100644
index 0000000..68943a5
--- /dev/null
+++ b/tests/tatan.c
@@ -0,0 +1,38 @@
+/* test file for mpc_atan.
+
+Copyright (C) 2009 Philippe Th\'eveny
+
+This file is part of the MPC Library.
+
+The MPC Library 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 of the License, or (at your
+option) any later version.
+
+The MPC 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 Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the MPC 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 "mpc-tests.h"
+
+int
+main (void)
+{
+ DECL_FUNC (CC, f, mpc_atan);
+
+ test_start ();
+
+/* data_check (f, "atan.dat"); */
+ tgeneric (f, 2, 1024, 7, 128);
+
+ test_end ();
+
+ return 0;
+}
+