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

Function acos_impl_float

src/fl/math/math.cpp.hpp:570–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570float acos_impl_float(float value) {
571#if FL_MATH_USE_LIBM
572 return ::acosf(value);
573#else
574 const float kPiHalf = 1.57079632679489661923f;
575 return kPiHalf - asin_impl_float(value);
576#endif
577}
578
579double acos_impl_double(double value) {
580#if FL_MATH_USE_LIBM

Callers 2

acosfFunction · 0.85
acosFunction · 0.85

Calls 2

acosfFunction · 0.85
asin_impl_floatFunction · 0.85

Tested by

no test coverage detected