mp_units::epsilon

Returns the epsilon of the quantity

Synopsis

Declared in <mp-units/math.h>
template<
    typename Rep,
    Reference R>
requires RepresentationOf<Rep, get_quantity_spec(R{})> && requires { std::numeric_limits<Rep>::epsilon(); }
[[deprecated, nodiscard]]
constexpr
quantity<R{}, Rep>
epsilon(R r) noexcept;


Description

The returned value is defined by a .

Return Value

Quantity The epsilon value for quantity's representation type

Template Parameters

Name Description
Q Quantity type being the base of the operation

Created with MrDocs