[#mp_units-pow-04] = xref:mp_units.adoc[mp_units]::pow :relfileprefix: ../ :mrdocs: Computes the value of a reference raised to the `Num/Den` power == Synopsis Declared in `<mp‐units/framework/reference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval /* implementation-defined */ pow(xref:mp_units/reference-0b2.adoc[reference] r); ---- == Return Value The result of computation [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Template Parameters [cols="1,4"] |=== | Name| Description | *Num* | Exponent numerator | *Den* | Exponent denominator |=== == Parameters [cols="1,4"] |=== | Name| Description | *r* | Reference being the base of the operation |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#