mp_units::isfinite

Determines if a quantity is finite.

Synopsis

Declared in <mp-units/math.h>
template<
    auto R,
    typename Rep>
requires requires(Rep v) { isfinite(v); } || requires(Rep v) { std::isfinite(v); }
[[nodiscard]]
constexpr
bool
isfinite(quantity<R, Rep> const& a) noexcept;


Return Value

bool: Whether the quantity is finite or not.

Parameters

Name Description
a: Quantity to analyze.
a A quantity

Created with MrDocs