[#mp_units-exp] = xref:mp_units.adoc[mp_units]::exp :relfileprefix: ../ :mrdocs: Computes Euler's raised to the given power == Synopsis Declared in `<mp‐units/math.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/ReferenceOf.adoc[ReferenceOf<dimensionless>] auto R, typename Rep> requires requires(Rep v) { exp(v); } || requires(Rep v) { std::exp(v); } [[nodiscard]] constexpr xref:mp_units/quantity-01.adoc[quantity<R, Rep>] exp(xref:mp_units/quantity-01.adoc[quantity<R, Rep>] const& q); ---- == Description [NOTE] ==== Such an operation has sense only for a dimensionless quantity. ==== == Return Value Quantity The value of the same quantity type == Parameters [cols=2] |=== | Name | Description | *q* | Quantity being the base of the operation |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#