@@ -43,10 +43,8 @@ template <> struct FXRep<short fract> {
4343 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
4444 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
4545 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;
5048
5149 LIBC_INLINE static constexpr Type MIN () { return SFRACT_MIN; }
5250 LIBC_INLINE static constexpr Type MAX () { return SFRACT_MAX; }
@@ -65,10 +63,8 @@ template <> struct FXRep<unsigned short fract> {
6563 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
6664 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
6765 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;
7268
7369 LIBC_INLINE static constexpr Type MIN () { return USFRACT_MIN; }
7470 LIBC_INLINE static constexpr Type MAX () { return USFRACT_MAX; }
@@ -87,10 +83,8 @@ template <> struct FXRep<fract> {
8783 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
8884 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
8985 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;
9488
9589 LIBC_INLINE static constexpr Type MIN () { return FRACT_MIN; }
9690 LIBC_INLINE static constexpr Type MAX () { return FRACT_MAX; }
@@ -109,10 +103,8 @@ template <> struct FXRep<unsigned fract> {
109103 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
110104 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
111105 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;
116108
117109 LIBC_INLINE static constexpr Type MIN () { return UFRACT_MIN; }
118110 LIBC_INLINE static constexpr Type MAX () { return UFRACT_MAX; }
@@ -131,10 +123,8 @@ template <> struct FXRep<long fract> {
131123 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
132124 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
133125 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;
138128
139129 LIBC_INLINE static constexpr Type MIN () { return LFRACT_MIN; }
140130 LIBC_INLINE static constexpr Type MAX () { return LFRACT_MAX; }
@@ -153,10 +143,8 @@ template <> struct FXRep<unsigned long fract> {
153143 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
154144 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
155145 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;
160148
161149 LIBC_INLINE static constexpr Type MIN () { return ULFRACT_MIN; }
162150 LIBC_INLINE static constexpr Type MAX () { return ULFRACT_MAX; }
@@ -175,10 +163,8 @@ template <> struct FXRep<short accum> {
175163 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
176164 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = SACCUM_IBIT;
177165 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;
182168
183169 LIBC_INLINE static constexpr Type MIN () { return SACCUM_MIN; }
184170 LIBC_INLINE static constexpr Type MAX () { return SACCUM_MAX; }
@@ -197,10 +183,8 @@ template <> struct FXRep<unsigned short accum> {
197183 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
198184 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = USACCUM_IBIT;
199185 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;
204188
205189 LIBC_INLINE static constexpr Type MIN () { return USACCUM_MIN; }
206190 LIBC_INLINE static constexpr Type MAX () { return USACCUM_MAX; }
@@ -219,10 +203,8 @@ template <> struct FXRep<accum> {
219203 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
220204 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = ACCUM_IBIT;
221205 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;
226208
227209 LIBC_INLINE static constexpr Type MIN () { return ACCUM_MIN; }
228210 LIBC_INLINE static constexpr Type MAX () { return ACCUM_MAX; }
@@ -241,10 +223,8 @@ template <> struct FXRep<unsigned accum> {
241223 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
242224 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = UACCUM_IBIT;
243225 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;
248228
249229 LIBC_INLINE static constexpr Type MIN () { return UACCUM_MIN; }
250230 LIBC_INLINE static constexpr Type MAX () { return UACCUM_MAX; }
@@ -263,10 +243,8 @@ template <> struct FXRep<long accum> {
263243 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
264244 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = LACCUM_IBIT;
265245 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;
270248
271249 LIBC_INLINE static constexpr Type MIN () { return LACCUM_MIN; }
272250 LIBC_INLINE static constexpr Type MAX () { return LACCUM_MAX; }
@@ -285,10 +263,8 @@ template <> struct FXRep<unsigned long accum> {
285263 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
286264 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = ULACCUM_IBIT;
287265 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;
292268
293269 LIBC_INLINE static constexpr Type MIN () { return ULACCUM_MIN; }
294270 LIBC_INLINE static constexpr Type MAX () { return ULACCUM_MAX; }
0 commit comments