mp_units::rounded_down¶
Rounding policy that rounds towards negative infinity
Synopsis¶
Declared in <mp-units/framework/rounding.h>
inline constexpr rounded_down_t rounded_down = rounded_down{};
Description¶
It has the semantics of std::chrono::floor. A conversion to a floating-point representation type doesn't accept it.
See Also¶
truncatedfor the semantics ofstatic_castroundedfor rounding to the nearest valuerounded_upfor rounding towards positive infinity- Value Conversions for when a policy is needed