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

Function sqrt

Source/astcenc_mathlib.h:455–458  ·  view source on GitHub ↗

* @brief Fast approximation of sqrt(val). * * @param v The input value. * * @return The approximated result. */

Source from the content-addressed store, hash-verified

453 * @return The approximated result.
454 */
455static inline float sqrt(float v)
456{
457 return std::sqrt(v);
458}
459
460/**
461 * @brief Extract mantissa and exponent of a float value.

Callers 6

normalizeFunction · 0.70
normalize_safeFunction · 0.70
store_image_blockFunction · 0.70
rsqrtFunction · 0.70
compute_error_metricsFunction · 0.70
TESTFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40