@@ -158,7 +158,7 @@ static int digits_count(uint32_t val) {
158
158
}
159
159
160
160
/* Powers of 5 less than UINT32_MAX */
161
- static uint32_t const pow5 [14 ] = {
161
+ static uint32_t const pow5_table [14 ] = {
162
162
1UL ,
163
163
5UL ,
164
164
5UL * 5UL ,
@@ -176,7 +176,7 @@ static uint32_t const pow5[14] = {
176
176
};
177
177
178
178
/* Powers of 10 less than UINT32_MAX */
179
- static uint32_t const pow10 [10 ] = {
179
+ static uint32_t const pow10_table [10 ] = {
180
180
1UL ,
181
181
10UL ,
182
182
100UL ,
@@ -266,7 +266,7 @@ static int js_format_f(double value, char dest[minimum_length(2+1074+1)],
266
266
plen = comp10_init (digits , mant );
267
267
for (exp = - exp2 ; exp > 0 ;) {
268
268
int k = exp >= 13 ? 13 : exp ;
269
- plen = comp10_multiply (digits , plen , pow5 [k ]);
269
+ plen = comp10_multiply (digits , plen , pow5_table [k ]);
270
270
exp -= k ;
271
271
}
272
272
}
@@ -309,7 +309,7 @@ static int js_format_f(double value, char dest[minimum_length(2+1074+1)],
309
309
trail |= digits [start ++ ];
310
310
trunc -= COMP10_LEN ;
311
311
}
312
- inc = pow10 [trunc ]; // trunc is in range 1..COMP10_LEN
312
+ inc = pow10_table [trunc ]; // trunc is in range 1..COMP10_LEN
313
313
half = inc / 2 ;
314
314
low = digits [start ] % inc ;
315
315
// round to nearest, tie to even
0 commit comments