Repair a verified behavior in modm-io/modm.
Repair a verified behavior in modm-io/modm.: a task in OriGent-SFT-Data (Harbor dataset). The public modm::Saturated<T wrapper does not safely initialize or convert from an integral value with a different width or signedness. For example, constructing modm::Saturated<std::uint8 t from std::uint16…
The task
The public `modm::Saturated<T>` wrapper does not safely initialize or convert from an integral value with a different width or signedness. For example, constructing `modm::Saturated<std::uint8_t>` from `std::uint16_t{300}` currently stores the truncated value `44`; `getValue()` returns `44` instead of `255`.…
Part of henryen/OriGent-SFT-Data.