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