Lines Matching refs:sqrt
59 return static_cast<T>(1) / sqrt(x);
165 return detail::tvec1<T, P>(std::sqrt(x.x));
174 return detail::tvec2<T, P>(std::sqrt(x.x), std::sqrt(x.y));
183 return detail::tvec3<T, P>(std::sqrt(x.x), std::sqrt(x.y), std::sqrt(x.z));
192 return detail::tvec4<T, P>(std::sqrt(x.x), std::sqrt(x.y), std::sqrt(x.z), std::sqrt(x.w));
197 // sqrt
198 GLM_FUNC_QUALIFIER float sqrt(float x) function
208 GLM_FUNC_QUALIFIER double sqrt(double x) function
219 GLM_FUNC_QUALIFIER vecType<T, P> sqrt(vecType<T, P> const & x) function
221 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'sqrt' only accept floating-point inputs");
228 return 1.0f / sqrt(x);
233 return 1.0 / sqrt(x);