units_unit_value_sqrt(3)
| units::unit_value_sqrt< U1, Eps >(3) | Unit Conversion and Dimensional Analysis Library | units::unit_value_sqrt< U1, Eps >(3) |
NAME
units::unit_value_sqrt< U1, Eps > - calculates square root of unit_value_t at compile-time
SYNOPSIS
#include <units.h>
Inherits units::detail::unit_value_arithmetic< U1, U1 >, and units::detail::_unit_value_t< square_root< traits::unit_value_t_traits< U1 >::unit_type, 10000000000 > >.
Static Public Member Functions
static constexpr const unit_t< unit_type >
value () noexcept
Value of square root.
Detailed Description
template<class U1, std::intmax_t Eps = 10000000000>
struct units::unit_value_sqrt< U1, Eps >"calculates square root of unit_value_t at compile-time
The resulting unit will the square root unit_type of U1
Template Parameters
See also
Note
Member Function Documentation
template<class U1, std::intmax_t Eps = 10000000000> constexpr const unit_t< unit_type > units::unit_value_sqrt< U1, Eps >::value () [inline], [static], [constexpr], [noexcept]
Value of square root. Returns the calculated value of the square root of U1, in units of U1^1/2.
Returns
Author
Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.
| Wed Feb 11 2026 09:38:34 | Version 2.3.0 |
