Skip to content

mp_units::utility::operator/

Division of an exact scalar by an uncertain value

Synopsis

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

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

Note

This function is a hidden friend of uncertain, declared only inside that class: it can be found only through argument-dependent lookup.

Description

NOTE

Formula: σf = |f| × (σx / x)

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
valueThe left operand
rhsThe right operand