[#mp_units-isinf-0f] = xref:mp_units.adoc[mp_units]::isinf :relfileprefix: ../ :mrdocs: Determines if a quantity is infinite. == Synopsis Declared in `<mp‐units/math.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< auto R, typename Rep> requires requires(Rep v) { isinf(v); } || requires(Rep v) { std::isinf(v); } [[nodiscard]] constexpr bool isinf(xref:mp_units/quantity-01.adoc[quantity<R, Rep>] const& a) noexcept; ---- == Return Value bool: Whether the quantity is infinite or not. == Parameters [cols=2] |=== | Name | Description | *a:* | Quantity to analyze. | *a* | A quantity |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#