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

Function sqrt_impl_float

src/fl/math/math.cpp.hpp:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238// (Low-memory targets — keeps libm out of the link).
239
240float sqrt_impl_float(float value) {
241#if FL_MATH_USE_LIBM
242 return ::sqrtf(value);
243#else
244 return detail::sqrt_newton_<float>(value);
245#endif
246}
247
248double sqrt_impl_double(double value) {
249#if FL_MATH_USE_LIBM

Callers 2

sqrtfFunction · 0.85
sqrtFunction · 0.85

Calls 1

sqrtfFunction · 0.85

Tested by

no test coverage detected