[#mp_units-pow-09] = xref:mp_units.adoc[mp_units]::pow :relfileprefix: ../ :mrdocs: Computes the value of a dimension raised to the `Num/Den` power == Synopsis Declared in `<mp‐units/framework/dimension.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< intmax_t Num, intmax_t Den = 1, xref:mp_units/Unit.adoc[Unit] D> requires (Den != 0) [[nodiscard]] consteval xref:mp_units/Unit.adoc[Unit] auto pow(D d); ---- == Return Value * Dimension The result of computation * QuantitySpec The result of computation * Unit The result of computation == Template Parameters [cols=2] |=== | Name | Description | *Num* | Exponent numerator | *Den* | Exponent denominator |=== == Parameters [cols=2] |=== | Name | Description | *d* | Dimension being the base of the operation | *q* | Quantity specification being the base of the operation | *u* | Unit being the base of the operation |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#