]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/18_support/headers/cfloat/values.cc
3 // Copyright (C) 2007, 2009 Free Software Foundation, Inc.
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)
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.
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/>.
25 double d2
= DBL_EPSILON
;
26 double d3
= DBL_MANT_DIG
;
28 double d5
= DBL_MAX_10_EXP
;
29 double d6
= DBL_MAX_EXP
;
31 double d8
= DBL_MIN_10_EXP
;
32 double d9
= DBL_MIN_EXP
;
35 float f2
= FLT_EPSILON
;
36 float f3
= FLT_MANT_DIG
;
38 float f5
= FLT_MAX_10_EXP
;
39 float f6
= FLT_MAX_EXP
;
41 float f8
= FLT_MIN_10_EXP
;
42 float f9
= FLT_MIN_EXP
;
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
;