• 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, 30, j0, "j0", "j0_inp.ref", "j0_out.ref2",
30  	 ""},
31  	{FUNC_NORMAL, 30, j1, "j1", "j1_inp.ref", "j1_out.ref2",
32  	 ""},
33  	{FUNC_NORMAL, 30, y0, "y0", "y0_inp.ref", "y0_out.ref2",
34  	 ""},
35  	{FUNC_NORMAL, 30, y1, "y1", "y1_inp.ref", "y1_out.ref2",
36  	 ""},
37  	{FUNC_GAM, 30, lgamma, "lgamma", "gamma_inp.ref", "gamma_out.ref",
38  	 "gamma_sign.ref"}
39  };
40  
41  #define NB_FUNC  (sizeof(th_func)/sizeof(TH_FUNC))
42  
43  #define GENERATOR "genbessel"
44  #include "main.c"
45  #include "thread_code.c"
46