diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-04-03 15:40:49 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-04-03 15:40:49 +0000 |
commit | 5f8b33f52f38f11227612f45c3adb56e0cd3e96e (patch) | |
tree | 2cc58765e603b4e7b0d2c965dfd4e9145f9112e1 /tests/tlog10.c | |
parent | 65855198ef6f55f18e0bc4fb13192fe023904a91 (diff) | |
download | mpc-5f8b33f52f38f11227612f45c3adb56e0cd3e96e.tar.gz |
added new function mpc_log10
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1149 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tlog10.c')
-rw-r--r-- | tests/tlog10.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/tlog10.c b/tests/tlog10.c new file mode 100644 index 0000000..5591b06 --- /dev/null +++ b/tests/tlog10.c @@ -0,0 +1,37 @@ +/* tlog10 -- test file for mpc_log10. + +Copyright (C) 2012 INRIA + +This file is part of GNU MPC. + +GNU MPC 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 3 of the License, or (at your +option) any later version. + +GNU MPC 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 this program. If not, see http://www.gnu.org/licenses/ . +*/ + +#include <stdlib.h> +#include "mpc-tests.h" + +int +main (void) +{ + DECL_FUNC (CC, f, mpc_log10); + + test_start (); + + data_check (f, "log10.dat"); + tgeneric (f, 2, 512, 7, 128); + + test_end (); + + return 0; +} |