Update.
[glibc.git] / math / test-idouble.c
blob390249d3bcb588106b2b538b9ad16c9fb66eb0dd
1 /* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Andreas Jaeger <aj@suse.de>, 1997.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
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 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public
17 License along with the GNU C Library; see the file COPYING.LIB. If not,
18 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #define FUNC(function) function
22 #define FLOAT double
23 #define TEST_MSG "testing double (inline functions)\n"
24 #define MATHCONST(x) x
25 #define CHOOSE(Clongdouble,Cdouble,Cfloat,Cinlinelongdouble,Cinlinedouble,Cinlinefloat) Cinlinedouble
26 #define PRINTF_EXPR "e"
27 #define PRINTF_XEXPR "a"
28 #define PRINTF_NEXPR "f"
29 #define TEST_DOUBLE 1
30 #define TEST_INLINE
32 #ifdef __NO_MATH_INLINES
33 # undef __NO_MATH_INLINES
34 #endif
36 #include "libm-test.c"