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