Template Function librapid::sqrt(T)#
Defined in File coreMath.hpp
Function Documentation#
-
template<typename T>
constexpr auto librapid::sqrt(T val)# Return the square root of a given value. Note that, for integer values, this function will cast the input value to a floating point type before calculating the square root.
- Template Parameters
T – Data type
- Parameters
val – Input value
- Returns
Square root of the input value