Skip to content

mp_units::utility::uncertain::relative_uncertainty

Returns the relative standard uncertainty (σ/|x|)

Synopsis

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

[[nodiscard]] constexpr value_type relative_uncertainty() const;

Description

The absolute value follows GUM and the VIM: a relative standard uncertainty is a magnitude and is never negative, while the central value may well be (CODATA publishes negative magnetic moments and g-factors).

Return Value

the relative standard uncertainty (σ/|x|)

Note

The return value should not be discarded.