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