Skip to content

Commit 5afb31d

Browse files
authored
[libc][float_dec_converter_limited] Add missing LIBC_INLINE (#125655)
This caused a build failure in check-libc introduced by commit b53da77.
1 parent 4be35fd commit 5afb31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/stdio/printf_core/float_dec_converter_limited.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct DigitsOutput {
112112
// 1292913986/2^32. That is a rounded-down approximation to log10(2), accurate
113113
// enough that for any binary exponent in the range of float128 it will give
114114
// the correct value of floor(log10(2^n)).
115-
int estimate_log10(int exponent_of_2) {
115+
LIBC_INLINE int estimate_log10(int exponent_of_2) {
116116
return (exponent_of_2 * 1292913986LL) >> 32;
117117
}
118118

0 commit comments

Comments
 (0)