]>
Commit | Line | Data |
---|---|---|
5cbb5849 JM |
1 | /* Test cpow. |
2 | Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
3 | This file is part of the GNU C Library. | |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
6 | modify it under the terms of the GNU Lesser General Public | |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
9 | ||
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | Lesser General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU Lesser General Public | |
16 | License along with the GNU C Library; if not, see | |
17 | <http://www.gnu.org/licenses/>. */ | |
18 | ||
92061bb0 JM |
19 | #include "libm-test-driver.c" |
20 | ||
5cbb5849 JM |
21 | static const struct test_cc_c_data cpow_test_data[] = |
22 | { | |
23 | TEST_cc_c (cpow, qnan_value, qnan_value, qnan_value, qnan_value, qnan_value, qnan_value), | |
24 | ||
25 | AUTO_TESTS_cc_c (cpow), | |
26 | }; | |
27 | ||
28 | static void | |
29 | cpow_test (void) | |
30 | { | |
31 | ALL_RM_TEST (cpow, 0, cpow_test_data, RUN_TEST_LOOP_cc_c, END_COMPLEX); | |
32 | } | |
33 | ||
92061bb0 JM |
34 | static void |
35 | do_test (void) | |
36 | { | |
37 | cpow_test (); | |
38 | } | |
39 | ||
5cbb5849 JM |
40 | /* |
41 | * Local Variables: | |
42 | * mode:c | |
43 | * End: | |
44 | */ |