isfinite
overloads
Synopses
Declared in <mp‐units/math.h>
Determines if a quantity is finite.
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;
Determines if a quantity point is finite.
template<
auto R,
auto PO,
typename Rep>
requires requires(quantity<R, Rep> q) { isfinite(q); }
[[nodiscard]]
constexpr
bool
isfinite(quantity_point<R, PO, Rep> const& a) noexcept;
Return Value
-
bool: Whether the quantity is finite or not.
-
bool: Whether the quantity point is finite or not.
Parameters
Name |
Description |
a: |
Quantity to analyze. |
Created with MrDocs