MCPcopy Create free account
hub / github.com/FastLED/FastLED / sqrt

Function sqrt

src/fl/math/math.h:454–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452// sqrt
453inline float sqrtf(float value) FL_NOEXCEPT { return sqrt_impl_float(value); }
454inline float sqrt(float value) FL_NOEXCEPT { return sqrt_impl_float(value); }
455inline double sqrt(double value) FL_NOEXCEPT { return sqrt_impl_double(value); }
456template<typename T> inline typename enable_if<is_integral<T>::value, float>::type
457sqrt(T value) FL_NOEXCEPT { return sqrt_impl_float(static_cast<float>(value)); }

Callers 15

nnls3Function · 0.85
drawDotMethod · 0.85
updateStabilityMethod · 0.85
chromaDistanceMethod · 0.85
calculateSpectralFluxMethod · 0.85
calculateConfidenceMethod · 0.85
calculateIBIStdDevMethod · 0.85
runNaiveMethod · 0.85
runOctaveWiseMethod · 0.85
distanceMethod · 0.85

Calls 2

sqrt_impl_floatFunction · 0.85
sqrt_impl_doubleFunction · 0.85

Tested by 3

test_sqrt_implFunction · 0.68