Skip to content

mp_units::utility::operator*

Multiplication 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 = |k| × σx

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
lhsThe left operand
valueThe right operand