1f08c3bdfSopenharmony_ci/* 2f08c3bdfSopenharmony_ci * Copyright (C) Bull S.A. 2001 3f08c3bdfSopenharmony_ci * Copyright (c) International Business Machines Corp., 2001 4f08c3bdfSopenharmony_ci * 5f08c3bdfSopenharmony_ci * This program is free software; you can redistribute it and/or modify 6f08c3bdfSopenharmony_ci * it under the terms of the GNU General Public License as published by 7f08c3bdfSopenharmony_ci * the Free Software Foundation; either version 2 of the License, or 8f08c3bdfSopenharmony_ci * (at your option) any later version. 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * This program is distributed in the hope that it will be useful, 11f08c3bdfSopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 12f08c3bdfSopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 13f08c3bdfSopenharmony_ci * the GNU General Public License for more details. 14f08c3bdfSopenharmony_ci * 15f08c3bdfSopenharmony_ci * You should have received a copy of the GNU General Public License 16f08c3bdfSopenharmony_ci * along with this program; if not, write to the Free Software 17f08c3bdfSopenharmony_ci * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18f08c3bdfSopenharmony_ci */ 19f08c3bdfSopenharmony_ci 20f08c3bdfSopenharmony_ci/******************************************************************************/ 21f08c3bdfSopenharmony_ci/* */ 22f08c3bdfSopenharmony_ci/* Dec-03-2001 Created: Jacky Malcles & Jean Noel Cordenner */ 23f08c3bdfSopenharmony_ci/* These tests are adapted from AIX float PVT tests. */ 24f08c3bdfSopenharmony_ci/* */ 25f08c3bdfSopenharmony_ci/******************************************************************************/ 26f08c3bdfSopenharmony_ci#include "tfloat.h" 27f08c3bdfSopenharmony_ci 28f08c3bdfSopenharmony_ciconst TH_FUNC th_func[] = { 29f08c3bdfSopenharmony_ci {FUNC_NORMAL, 50, exp, "exp", "exp_inp.ref", "exp_out.ref", 30f08c3bdfSopenharmony_ci ""}, 31f08c3bdfSopenharmony_ci {FUNC_NORMAL, 50, log, "log", "log_inp.ref", "log_out.ref2", 32f08c3bdfSopenharmony_ci ""}, 33f08c3bdfSopenharmony_ci {FUNC_NORMAL, 50, log10, "log10", "log10_inp.ref", "log10_out.ref", 34f08c3bdfSopenharmony_ci ""}, 35f08c3bdfSopenharmony_ci {FUNC_FREXP, 50, frexp, "frexp", "frexp_inp.ref", "frexp_out.ref", 36f08c3bdfSopenharmony_ci "frexp1_out.ref"}, 37f08c3bdfSopenharmony_ci {FUNC_HYPOT, 50, hypot, "hypot", "hypot_inp.ref", "hypot_out.ref", 38f08c3bdfSopenharmony_ci ""}, 39f08c3bdfSopenharmony_ci {FUNC_LDEXP, 50, ldexp, "ldexp", "ldexp_inp.ref", "ldexp_out.ref", 40f08c3bdfSopenharmony_ci "ildexp_inp.ref"}, 41f08c3bdfSopenharmony_ci {FUNC_MODF, 50, modf, "modf", "modf_inp.ref", "modf_out.ref", 42f08c3bdfSopenharmony_ci "modf1_out.ref"} 43f08c3bdfSopenharmony_ci}; 44f08c3bdfSopenharmony_ci 45f08c3bdfSopenharmony_ci#define NB_FUNC (sizeof(th_func)/sizeof(TH_FUNC)) 46f08c3bdfSopenharmony_ci 47f08c3bdfSopenharmony_ci#define GENERATOR "genexp_log" 48f08c3bdfSopenharmony_ci#include "main.c" 49f08c3bdfSopenharmony_ci#include "thread_code.c" 50