<mp-units/math.h>
template<
ReferenceOf<dimensionless> auto R,
typename Rep>
requires requires(Rep v) { exp(v); } || requires(Rep v) { std::exp(v); }
[[nodiscard]]
constexpr
quantity<R, Rep>
exp(quantity<R, Rep> const& q);
Such an operation has sense only for a dimensionless quantity.
Name | Description |
---|---|
q | Quantity being the base of the operation |