Computes the cubic root of a quantity
Synopsis
Declared in <mp‐units/math.h>
template<
auto R,
typename Rep>
requires requires(Rep v) { cbrt(v); } || requires(Rep v) { std::cbrt(v); }
[[nodiscard]]
constexpr
quantity<cbrt®, Rep>
cbrt(quantity<R, Rep> const& q) noexcept;
Description
Both the quantity value and its quantity specification are the base of the operation.
Return Value
Quantity The result of computation
Parameters
Name |
Description |
q |
Quantity being the base of the operation |
Created with MrDocs