mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 18:04:19 -07: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
518 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
