-
Notifications
You must be signed in to change notification settings - Fork 0
/
numeric_limits
171 lines (135 loc) · 3.94 KB
/
numeric_limits
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#include <limits>
namespace std
{
/**
* @brief Part of std::numeric_limits.
*/
template<typename _Tp>
constexpr bool
is_specialized(_Tp) noexcept
{ return numeric_limits<_Tp>::is_specialized; }
template<typename _Tp>
constexpr _Tp
min(_Tp) noexcept
{ return numeric_limits<_Tp>::min(); }
template<typename _Tp>
constexpr _Tp
max(_Tp) noexcept
{ return numeric_limits<_Tp>::max(); }
template<typename _Tp>
static constexpr _Tp
lowest(_Tp) noexcept
{ return numeric_limits<_Tp>::lowest(); }
template<typename _Tp>
constexpr int
digits(_Tp) noexcept
{ return numeric_limits<_Tp>::digits; }
template<typename _Tp>
constexpr int
digits10(_Tp) noexcept
{ return numeric_limits<_Tp>::digits10; }
template<typename _Tp>
constexpr int
max_digits10(_Tp) noexcept
{ return numeric_limits<_Tp>::max_digits10; }
template<typename _Tp>
constexpr bool
xxx_is_signed(_Tp) noexcept
{ return numeric_limits<_Tp>::is_signed; }
template<typename _Tp>
constexpr bool
is_integer(_Tp) noexcept
{ return numeric_limits<_Tp>::is_integer; }
template<typename _Tp>
constexpr bool
is_exact(_Tp) noexcept
{ return numeric_limits<_Tp>::is_exact; }
template<typename _Tp>
constexpr int
radix(_Tp) noexcept
{ return numeric_limits<_Tp>::radix; }
template<typename _Tp>
constexpr _Tp
epsilon(_Tp) noexcept
{ return numeric_limits<_Tp>::epsilon(); }
template<typename _Tp>
constexpr _Tp
round_error(_Tp) noexcept
{ return numeric_limits<_Tp>::round_error(); }
template<typename _Tp>
constexpr int
min_exponent(_Tp) noexcept
{ return numeric_limits<_Tp>::min_exponent; }
template<typename _Tp>
constexpr int
min_exponent10(_Tp) noexcept
{ return numeric_limits<_Tp>::min_exponent10; }
template<typename _Tp>
constexpr int
max_exponent(_Tp) noexcept
{ return numeric_limits<_Tp>::max_exponent; }
template<typename _Tp>
constexpr int
max_exponent10(_Tp) noexcept
{ return numeric_limits<_Tp>::max_exponent10; }
template<typename _Tp>
constexpr bool
has_infinity(_Tp) noexcept
{ return numeric_limits<_Tp>::has_infinity; }
template<typename _Tp>
constexpr bool
has_quiet_NaN(_Tp) noexcept
{ return numeric_limits<_Tp>::has_quiet_NaN; }
template<typename _Tp>
constexpr bool
has_signaling_NaN(_Tp) noexcept
{ return numeric_limits<_Tp>::has_signaling_NaN; }
template<typename _Tp>
constexpr float_denorm_style
has_denorm(_Tp) noexcept
{ return numeric_limits<_Tp>::has_denorm; }
template<typename _Tp>
constexpr bool
has_denorm_loss(_Tp) noexcept
{ return numeric_limits<_Tp>::has_denorm_loss; }
template<typename _Tp>
constexpr _Tp
infinity(_Tp) noexcept
{ return numeric_limits<_Tp>::infinity(); }
template<typename _Tp>
constexpr _Tp
quiet_NaN(_Tp) noexcept
{ return numeric_limits<_Tp>::quiet_NaN(); }
template<typename _Tp>
constexpr _Tp
signaling_NaN(_Tp) noexcept
{ return numeric_limits<_Tp>::signaling_NaN(); }
template<typename _Tp>
constexpr _Tp
denorm_min(_Tp) noexcept
{ return numeric_limits<_Tp>::denorm_min(); }
template<typename _Tp>
constexpr bool
is_iec559(_Tp) noexcept
{ return numeric_limits<_Tp>::is_iec559; }
template<typename _Tp>
constexpr bool
is_bounded(_Tp) noexcept
{ return numeric_limits<_Tp>::is_bounded; }
template<typename _Tp>
constexpr bool
is_modulo(_Tp) noexcept
{ return numeric_limits<_Tp>::is_modulo; }
template<typename _Tp>
constexpr bool
traps(_Tp) noexcept
{ return numeric_limits<_Tp>::traps; }
template<typename _Tp>
constexpr bool
tinyness_before(_Tp) noexcept
{ return numeric_limits<_Tp>::tinyness_before; }
template<typename _Tp>
constexpr float_round_style
round_style(_Tp) noexcept
{ return numeric_limits<_Tp>::round_style; }
}