chsvlib
chsv helper source code

◆ sqr_of_2()

constexpr T Chusov::Math::sqr_of_2 ( )
constexprnoexcept

Returns a square root of two.

Template Parameters
TA desired type of the constant. It must be an arithmetic type.
Returns
\(\sqrt{2} = 1.41421356237309504880\).