Skip to content

mp_units::utility::operator/

Division by an exact scalar

Synopsis

Declared in <mp-units/utility/uncertain.h>

[[nodiscard]] constexpr uncertain operator/(uncertain const& lhs, auto const& value);

Description

NOTE

The scalar is treated as exact (no uncertainty). Formula: σf = σx / |k|

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
lhsThe left operand
valueThe right operand