![]() |
WPILibC++ 2025.3.2
|
raises unit_value_to a power at compile-time More...
#include <units/base.h>
Static Public Member Functions | |
| static constexpr const unit_t< unit_type > | value () noexcept |
| Value of exponentiation. | |
raises unit_value_to a power at compile-time
The resulting unit will the unit_type of U1 squared
| U1 | unit_value_t to take the exponentiation of. |
units::math::pow
|
inlinestaticconstexprnoexcept |
Value of exponentiation.
Returns the calculated value of the exponentiation of U1, in units of U1^power.