@@ -43,10 +43,8 @@ template <> struct FXRep<short fract> {
43
43
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
44
44
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
45
45
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = SFRACT_FBIT;
46
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
47
- INTEGRAL_LEN + FRACTION_LEN;
48
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
49
- SIGN_LEN + VALUE_LEN;
46
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
47
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
50
48
51
49
LIBC_INLINE static constexpr Type MIN () { return SFRACT_MIN; }
52
50
LIBC_INLINE static constexpr Type MAX () { return SFRACT_MAX; }
@@ -65,10 +63,8 @@ template <> struct FXRep<unsigned short fract> {
65
63
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
66
64
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
67
65
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = USFRACT_FBIT;
68
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
69
- INTEGRAL_LEN + FRACTION_LEN;
70
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
71
- SIGN_LEN + VALUE_LEN;
66
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
67
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
72
68
73
69
LIBC_INLINE static constexpr Type MIN () { return USFRACT_MIN; }
74
70
LIBC_INLINE static constexpr Type MAX () { return USFRACT_MAX; }
@@ -87,10 +83,8 @@ template <> struct FXRep<fract> {
87
83
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
88
84
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
89
85
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = FRACT_FBIT;
90
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
91
- INTEGRAL_LEN + FRACTION_LEN;
92
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
93
- SIGN_LEN + VALUE_LEN;
86
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
87
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
94
88
95
89
LIBC_INLINE static constexpr Type MIN () { return FRACT_MIN; }
96
90
LIBC_INLINE static constexpr Type MAX () { return FRACT_MAX; }
@@ -109,10 +103,8 @@ template <> struct FXRep<unsigned fract> {
109
103
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
110
104
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
111
105
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = UFRACT_FBIT;
112
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
113
- INTEGRAL_LEN + FRACTION_LEN;
114
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
115
- SIGN_LEN + VALUE_LEN;
106
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
107
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
116
108
117
109
LIBC_INLINE static constexpr Type MIN () { return UFRACT_MIN; }
118
110
LIBC_INLINE static constexpr Type MAX () { return UFRACT_MAX; }
@@ -131,10 +123,8 @@ template <> struct FXRep<long fract> {
131
123
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
132
124
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
133
125
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = LFRACT_FBIT;
134
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
135
- INTEGRAL_LEN + FRACTION_LEN;
136
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
137
- SIGN_LEN + VALUE_LEN;
126
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
127
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
138
128
139
129
LIBC_INLINE static constexpr Type MIN () { return LFRACT_MIN; }
140
130
LIBC_INLINE static constexpr Type MAX () { return LFRACT_MAX; }
@@ -153,10 +143,8 @@ template <> struct FXRep<unsigned long fract> {
153
143
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
154
144
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
155
145
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = ULFRACT_FBIT;
156
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
157
- INTEGRAL_LEN + FRACTION_LEN;
158
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
159
- SIGN_LEN + VALUE_LEN;
146
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
147
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
160
148
161
149
LIBC_INLINE static constexpr Type MIN () { return ULFRACT_MIN; }
162
150
LIBC_INLINE static constexpr Type MAX () { return ULFRACT_MAX; }
@@ -175,10 +163,8 @@ template <> struct FXRep<short accum> {
175
163
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
176
164
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = SACCUM_IBIT;
177
165
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = SACCUM_FBIT;
178
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
179
- INTEGRAL_LEN + FRACTION_LEN;
180
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
181
- SIGN_LEN + VALUE_LEN;
166
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
167
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
182
168
183
169
LIBC_INLINE static constexpr Type MIN () { return SACCUM_MIN; }
184
170
LIBC_INLINE static constexpr Type MAX () { return SACCUM_MAX; }
@@ -197,10 +183,8 @@ template <> struct FXRep<unsigned short accum> {
197
183
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
198
184
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = USACCUM_IBIT;
199
185
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = USACCUM_FBIT;
200
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
201
- INTEGRAL_LEN + FRACTION_LEN;
202
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
203
- SIGN_LEN + VALUE_LEN;
186
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
187
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
204
188
205
189
LIBC_INLINE static constexpr Type MIN () { return USACCUM_MIN; }
206
190
LIBC_INLINE static constexpr Type MAX () { return USACCUM_MAX; }
@@ -219,10 +203,8 @@ template <> struct FXRep<accum> {
219
203
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
220
204
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = ACCUM_IBIT;
221
205
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = ACCUM_FBIT;
222
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
223
- INTEGRAL_LEN + FRACTION_LEN;
224
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
225
- SIGN_LEN + VALUE_LEN;
206
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
207
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
226
208
227
209
LIBC_INLINE static constexpr Type MIN () { return ACCUM_MIN; }
228
210
LIBC_INLINE static constexpr Type MAX () { return ACCUM_MAX; }
@@ -241,10 +223,8 @@ template <> struct FXRep<unsigned accum> {
241
223
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
242
224
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = UACCUM_IBIT;
243
225
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = UACCUM_FBIT;
244
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
245
- INTEGRAL_LEN + FRACTION_LEN;
246
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
247
- SIGN_LEN + VALUE_LEN;
226
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
227
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
248
228
249
229
LIBC_INLINE static constexpr Type MIN () { return UACCUM_MIN; }
250
230
LIBC_INLINE static constexpr Type MAX () { return UACCUM_MAX; }
@@ -263,10 +243,8 @@ template <> struct FXRep<long accum> {
263
243
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
264
244
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = LACCUM_IBIT;
265
245
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = LACCUM_FBIT;
266
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
267
- INTEGRAL_LEN + FRACTION_LEN;
268
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
269
- SIGN_LEN + VALUE_LEN;
246
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
247
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
270
248
271
249
LIBC_INLINE static constexpr Type MIN () { return LACCUM_MIN; }
272
250
LIBC_INLINE static constexpr Type MAX () { return LACCUM_MAX; }
@@ -285,10 +263,8 @@ template <> struct FXRep<unsigned long accum> {
285
263
LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
286
264
LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = ULACCUM_IBIT;
287
265
LIBC_INLINE_VAR static constexpr int FRACTION_LEN = ULACCUM_FBIT;
288
- LIBC_INLINE_VAR static constexpr int VALUE_LEN =
289
- INTEGRAL_LEN + FRACTION_LEN;
290
- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
291
- SIGN_LEN + VALUE_LEN;
266
+ LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
267
+ LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
292
268
293
269
LIBC_INLINE static constexpr Type MIN () { return ULACCUM_MIN; }
294
270
LIBC_INLINE static constexpr Type MAX () { return ULACCUM_MAX; }
0 commit comments