[#mp_units-exp]
= xref:mp_units.adoc[mp&lowbar;units]::exp
:relfileprefix: ../
:mrdocs:

Computes Euler&apos;s raised to the given power

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;math&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    xref:mp_units/ReferenceOf.adoc[ReferenceOf&lt;dimensionless&gt;] auto R,
    typename Rep&gt;
requires requires(Rep v) &lcub; exp(v)&semi; &rcub; &verbar;&verbar; requires(Rep v) &lcub; std&colon;&colon;exp(v)&semi; &rcub;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/quantity-01.adoc[quantity&lt;R, Rep&gt;]
exp(xref:mp_units/quantity-01.adoc[quantity&lt;R, Rep&gt;] const& q);
----

== Description

[NOTE]
====
Such an operation has sense only for a dimensionless quantity&period;

====

== Return Value

Quantity The value of the same quantity type

== Parameters

[cols="1,4"]
|===
|Name|Description

| *q*
| Quantity being the base of the operation
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
