This commit is contained in:
J. Nick Koston
2026-03-02 15:56:17 -10:00
parent 0847031fda
commit 21bf561f0c
+1 -1
View File
@@ -513,7 +513,7 @@ template<size_t STACK_SIZE, typename T = uint8_t> class SmallBufferWithHeapFallb
/// Compute 10^exp using iterative multiplication/division.
/// Avoids pulling in powf/__ieee754_powf (~2.3KB flash) for small integer exponents. // NOLINT
/// Matches powf(10, exp) for the int8_t exponent range used by sensor accuracy_decimals.
/// Matches powf(10, exp) for the int8_t exponent range used by sensor accuracy_decimals. // NOLINT
inline float pow10_int(int8_t exp) {
float result = 1.0f;
if (exp >= 0) {