1// { dg-do compile }
2
3// Copyright (C) 2007-2015 Free Software Foundation, Inc.
4//
5// This file is part of the GNU ISO C++ Library.  This library is free
6// software; you can redistribute it and/or modify it under the
7// terms of the GNU General Public License as published by the
8// Free Software Foundation; either version 3, or (at your option)
9// any later version.
10
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14// GNU General Public License for more details.
15
16// You should have received a copy of the GNU General Public License along
17// with this library; see the file COPYING3.  If not see
18// <http://www.gnu.org/licenses/>.
19
20#include <cfloat>
21
22namespace gnu
23{
24  double d1 = DBL_DIG;
25  double d2 = DBL_EPSILON;
26  double d3 = DBL_MANT_DIG;
27  double d4 = DBL_MAX;
28  double d5 = DBL_MAX_10_EXP;
29  double d6 = DBL_MAX_EXP;
30  double d7 = DBL_MIN;
31  double d8 = DBL_MIN_10_EXP;
32  double d9 = DBL_MIN_EXP;
33
34  float f1 = FLT_DIG;
35  float f2 = FLT_EPSILON;
36  float f3 = FLT_MANT_DIG;
37  float f4 = FLT_MAX;
38  float f5 = FLT_MAX_10_EXP;
39  float f6 = FLT_MAX_EXP;
40  float f7 = FLT_MIN;
41  float f8 = FLT_MIN_10_EXP;
42  float f9 = FLT_MIN_EXP;
43
44  long double ld1 = LDBL_DIG;
45  long double ld2 = LDBL_EPSILON;
46  long double ld3 = LDBL_MANT_DIG;
47  long double ld4 = LDBL_MAX;
48  long double ld5 = LDBL_MAX_10_EXP;
49  long double ld6 = LDBL_MAX_EXP;
50  long double ld7 = LDBL_MIN;
51  long double ld8 = LDBL_MIN_10_EXP;
52  long double ld9 = LDBL_MIN_EXP;
53}
54