[#mp_units-isinf-0c]
= xref:mp_units.adoc[mp&lowbar;units]::isinf
:relfileprefix: ../
:mrdocs:

`isinf` overloads

== Synopses

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

Determines if a quantity is infinite&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    auto R,
    typename Rep&gt;
requires requires(Rep v) &lcub; isinf(v)&semi; &rcub; &verbar;&verbar; requires(Rep v) &lcub; std&colon;&colon;isinf(v)&semi; &rcub;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/isinf-0f.adoc[isinf](xref:mp_units/quantity-01.adoc[quantity&lt;R, Rep&gt;] const& a) noexcept;
----

[.small]#xref:mp_units/isinf-0f.adoc[_» more&period;&period;&period;_]#

Determines if a quantity point is infinite&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    auto R,
    auto PO,
    typename Rep&gt;
requires requires(quantity&lt;R, Rep&gt; q) &lcub; isinf(q)&semi; &rcub;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/isinf-04.adoc[isinf](xref:mp_units/quantity_point-08.adoc[quantity&lowbar;point&lt;R, PO, Rep&gt;] const& a) noexcept;
----

[.small]#xref:mp_units/isinf-04.adoc[_» more&period;&period;&period;_]#

== Return Value

* bool&colon; Whether the quantity is infinite or not&period;
* bool&colon; Whether the quantity point is infinite or not&period;

== Parameters

[cols=2]
|===
| Name
| Description
| *a&colon;*
| Quantity to analyze&period;
|===


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