[#mp_units-square] = xref:mp_units.adoc[mp_units]::square :relfileprefix: ../ :mrdocs: Computes the square power of a unit == Synopsis Declared in `<mp‐units/framework/unit.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval xref:mp_units/Unit.adoc[Unit] auto square(auto u); ---- == Return Value Unit The result of computation == Parameters [cols=2] |=== | Name | Description | *u* | Unit being the base of the operation |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#