WPILibC++ 2024.3.2
|
calculates square root of unit_value_t at compile-time More...
#include <units/base.h>
Static Public Member Functions | |
static constexpr const unit_t< unit_type > | value () noexcept |
Value of square root. More... | |
calculates square root of unit_value_t at compile-time
The resulting unit will the square root unit_type
of U1
U1 | unit_value_t to take the square root of. |
units::ratio_sqrt
|
inlinestaticconstexprnoexcept |
Value of square root.
Returns the calculated value of the square root of U1
, in units of U1^1/2
.