WPILibC++ 2023.4.3-108-ge5452e3
|
divides two unit_value_t types at compile-time More...
#include <units/base.h>
Static Public Member Functions | |
static constexpr const unit_t< unit_type > | value () noexcept |
Value of quotient. More... | |
divides two unit_value_t types at compile-time
The resulting unit will the the unit_type
of U1
U1 | left-hand unit_value_t |
U2 | right-hand unit_value_t |
std::ratio_divide
|
inlinestaticconstexprnoexcept |
Value of quotient.
Returns the calculated value of the quotient of U1
and U2
, in units of U1 x U2
.