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

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;unit&lowbar;magnitude&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    intmax&lowbar;t N,
    intmax&lowbar;t D&gt;
requires (N !&equals; 0)
constexpr xref:mp_units/UnitMagnitude.adoc[UnitMagnitude] auto mag&lowbar;ratio = detail&colon;&colon;make&lowbar;magnitude&lt;detail&colon;&colon;ratio&lcub;N, D&rcub;&gt;();
----


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