Unit Conversion and Dimensional Analysis Library
2.3.0
A compile-time c++14 unit conversion library
|
calculates square root of unit_value_t at compile-time More...
#include <units.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
.