MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / sqrt

Function sqrt

Source/astcenc_vecmathlib_none_4.h:916–922  ·  view source on GitHub ↗

* @brief Return the sqrt of the lanes in the vector. */

Source from the content-addressed store, hash-verified

914 * @brief Return the sqrt of the lanes in the vector.
915 */
916ASTCENC_SIMD_INLINE vfloat4 sqrt(vfloat4 a)
917{
918 return vfloat4(std::sqrt(a.m[0]),
919 std::sqrt(a.m[1]),
920 std::sqrt(a.m[2]),
921 std::sqrt(a.m[3]));
922}
923
924/**
925 * @brief Return lanes from @c b if @c cond is set, else @c a.

Callers

nothing calls this directly

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected