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

Computes the square root of a dimension

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
xref:mp_units/Unit.adoc[Unit] auto
sqrt(auto d);
----

== Return Value

* Dimension The result of computation
* QuantitySpec The result of computation
* Unit The result of computation

== 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]#
