Returns the epsilon of the quantity
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("2.5.0: Use `std::numeric_limits<Quantity>::epsilon()` instead"), nodiscard]]
constexpr
quantity<R{}, Rep>
epsilon(R r) noexcept;
Deprecated: 2.5.0: Use `std::numeric_limits<Quantity>::epsilon()` instead. Use of this entity is allowed but discouraged.
The returned value is defined by a .
Quantity The epsilon value for quantity's representation type
The return value should not be discarded.
| Name | Description |
|---|---|
| Q | Quantity type being the base of the operation |