mirror of
https://github.com/esphome/esphome.git
synced 2026-09-01 10:36:01 +00:00
6a8844e2fc1d24596ae67bc970bb7616eec8ea89
Add shared pow10_int() helper to helpers.h that computes 10^exp using iterative multiplication/division instead of powf. Replace powf(10, exp) calls in: - sensor/filter.cpp: ValueListFilter and RoundFilter - helpers.cpp: normalize_accuracy_decimals (refactored to use pow10_int for the general case, keeping -1/-2 fast paths) Eliminates powf/__ieee754_powf from builds where sensor filters are the only remaining powf call site.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
587 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
