@@ -43,8 +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 TOTAL_LEN =
47- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
4848
4949 LIBC_INLINE static constexpr Type MIN () { return SFRACT_MIN; }
5050 LIBC_INLINE static constexpr Type MAX () { return SFRACT_MAX; }
@@ -63,8 +63,8 @@ template <> struct FXRep<unsigned short fract> {
6363 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
6464 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
6565 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = USFRACT_FBIT;
66- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
67- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
6868
6969 LIBC_INLINE static constexpr Type MIN () { return USFRACT_MIN; }
7070 LIBC_INLINE static constexpr Type MAX () { return USFRACT_MAX; }
@@ -83,8 +83,8 @@ template <> struct FXRep<fract> {
8383 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
8484 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
8585 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = FRACT_FBIT;
86- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
87- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
8888
8989 LIBC_INLINE static constexpr Type MIN () { return FRACT_MIN; }
9090 LIBC_INLINE static constexpr Type MAX () { return FRACT_MAX; }
@@ -103,8 +103,8 @@ template <> struct FXRep<unsigned fract> {
103103 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
104104 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
105105 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = UFRACT_FBIT;
106- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
107- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
108108
109109 LIBC_INLINE static constexpr Type MIN () { return UFRACT_MIN; }
110110 LIBC_INLINE static constexpr Type MAX () { return UFRACT_MAX; }
@@ -123,8 +123,8 @@ template <> struct FXRep<long fract> {
123123 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
124124 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
125125 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = LFRACT_FBIT;
126- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
127- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
128128
129129 LIBC_INLINE static constexpr Type MIN () { return LFRACT_MIN; }
130130 LIBC_INLINE static constexpr Type MAX () { return LFRACT_MAX; }
@@ -143,8 +143,8 @@ template <> struct FXRep<unsigned long fract> {
143143 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
144144 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0 ;
145145 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = ULFRACT_FBIT;
146- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
147- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
148148
149149 LIBC_INLINE static constexpr Type MIN () { return ULFRACT_MIN; }
150150 LIBC_INLINE static constexpr Type MAX () { return ULFRACT_MAX; }
@@ -163,8 +163,8 @@ template <> struct FXRep<short accum> {
163163 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
164164 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = SACCUM_IBIT;
165165 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = SACCUM_FBIT;
166- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
167- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
168168
169169 LIBC_INLINE static constexpr Type MIN () { return SACCUM_MIN; }
170170 LIBC_INLINE static constexpr Type MAX () { return SACCUM_MAX; }
@@ -183,8 +183,8 @@ template <> struct FXRep<unsigned short accum> {
183183 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
184184 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = USACCUM_IBIT;
185185 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = USACCUM_FBIT;
186- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
187- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
188188
189189 LIBC_INLINE static constexpr Type MIN () { return USACCUM_MIN; }
190190 LIBC_INLINE static constexpr Type MAX () { return USACCUM_MAX; }
@@ -203,8 +203,8 @@ template <> struct FXRep<accum> {
203203 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
204204 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = ACCUM_IBIT;
205205 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = ACCUM_FBIT;
206- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
207- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
208208
209209 LIBC_INLINE static constexpr Type MIN () { return ACCUM_MIN; }
210210 LIBC_INLINE static constexpr Type MAX () { return ACCUM_MAX; }
@@ -223,8 +223,8 @@ template <> struct FXRep<unsigned accum> {
223223 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
224224 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = UACCUM_IBIT;
225225 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = UACCUM_FBIT;
226- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
227- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
228228
229229 LIBC_INLINE static constexpr Type MIN () { return UACCUM_MIN; }
230230 LIBC_INLINE static constexpr Type MAX () { return UACCUM_MAX; }
@@ -243,8 +243,8 @@ template <> struct FXRep<long accum> {
243243 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1 ;
244244 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = LACCUM_IBIT;
245245 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = LACCUM_FBIT;
246- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
247- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
248248
249249 LIBC_INLINE static constexpr Type MIN () { return LACCUM_MIN; }
250250 LIBC_INLINE static constexpr Type MAX () { return LACCUM_MAX; }
@@ -263,8 +263,8 @@ template <> struct FXRep<unsigned long accum> {
263263 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 0 ;
264264 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = ULACCUM_IBIT;
265265 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = ULACCUM_FBIT;
266- LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
267- SIGN_LEN + INTEGRAL_LEN + FRACTION_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 ;
268268
269269 LIBC_INLINE static constexpr Type MIN () { return ULACCUM_MIN; }
270270 LIBC_INLINE static constexpr Type MAX () { return ULACCUM_MAX; }
0 commit comments