v1.3.0
What's new
- Add real-valued, double-precision temperature types —
celsius_real,kelvin_real, andfahrenheit_real— whosecount()reads directly in scale degrees. Intended use is casting an exact reading to a real-valued type for display or floating-point computation, e.g.temperature_cast<celsius_real>(millicelsius(22500)). - Their
std::formatterspecializations render the degree value with the scale suffix (22.5°C) and honor the standard floating-point format spec ({:.1f}→22.5°C). - Include
<version>before thestd::formatfeature-test check, so the formatter block is enabled in standalone (non-IDF) builds where nothing pulls in__cpp_lib_formatfirst.
Full Changelog: v1.2.2...v1.3.0