mp_units::isnan

Determines if a quantity point is a nan.

Synopsis

Declared in <mp-units/math.h>
template<
    auto R,
    auto PO,
    typename Rep>
requires requires(quantity<R, Rep> q) { isnan(q); }
[[nodiscard]]
constexpr
bool
isnan(quantity_point<R, PO, Rep> const& a) noexcept;


Return Value

bool: Whether the quantity point is a NaN or not.

Parameters

Name Description
a: Quantity point to analyze.
a A quantity point

Created with MrDocs