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