Template Function miso::util::pow2

Function Documentation

template<typename T>
inline T miso::util::pow2(T x)

Calculate the square of a value.

テンプレートパラメータ:

T -- type of the value

パラメータ:

x -- target value

戻り値:

squared value