Computes the cubic root of a quantity
Declared in <mp-units/math.h>
[[nodiscard]]
consteval
/* implementation-defined */
cbrt(reference);
» more...
Computes the cubic root of a quantity
template<
auto R,
typename Rep>
requires requires(Rep v) { cbrt(v); } || requires(Rep v) { std::cbrt(v); }
[[nodiscard]]
constexpr
quantity<cbrt(R), Rep>
cbrt(quantity<R, Rep> const& q) noexcept;
» more...
Quantity The result of computation
| Name | Description |
|---|---|
| q | Quantity being the base of the operation |