• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) Bull S.A. 2001
3  * Copyright (c) International Business Machines  Corp., 2001
4  *
5  *   This program is free software;  you can redistribute it and/or modify
6  *   it under the terms of the GNU General Public License as published by
7  *   the Free Software Foundation; either version 2 of the License, or
8  *   (at your option) any later version.
9  *
10  *   This program 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
13  *   the GNU General Public License for more details.
14  *
15  *   You should have received a copy of the GNU General Public License
16  *   along with this program;  if not, write to the Free Software
17  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 /******************************************************************************/
21 /*                                                                            */
22 /* Dec-03-2001  Created: Jacky Malcles & Jean Noel Cordenner                  */
23 /*              These tests are adapted from AIX float PVT tests.             */
24 /*                                                                            */
25 /******************************************************************************/
26 #include "tfloat.h"
27 
28 const TH_FUNC th_func[] = {
29 	{FUNC_NORMAL, 50, acos, "acos", "dacos", "racos",
30 	 ""},
31 	{FUNC_NORMAL, 50, asin, "asin", "dasin", "rasin",
32 	 ""},
33 	{FUNC_NORMAL, 50, atan, "atan", "datan", "ratan",
34 	 ""},
35 	{FUNC_ATAN2, 50, atan2, "atan2", "datan2", "ratan2",
36 	 ""},
37 	{FUNC_NORMAL, 50, cos, "cos", "dcos", "rcos",
38 	 ""},
39 	{FUNC_NORMAL, 50, sin, "sin", "dsin", "rsin",
40 	 ""},
41 	{FUNC_NORMAL, 50, tan, "tan", "dtan", "rtan",
42 	 ""}
43 };
44 
45 #define NB_FUNC  (sizeof(th_func)/sizeof(TH_FUNC))
46 
47 #define GENERATOR "gentrigo"
48 #include "main.c"
49 #include "thread_code.c"
50