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

Function atan2

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

Source from the content-addressed store, hash-verified

389// atan2
390inline float atan2f(float y, float x) FL_NOEXCEPT { return atan2_impl_float(y, x); }
391inline double atan2(double y, double x) FL_NOEXCEPT { return atan2_impl_double(y, x); }
392template<typename T> inline typename enable_if<is_integral<T>::value, float>::type
393atan2(T y, T x) FL_NOEXCEPT { return atan2_impl_float(static_cast<float>(y), static_cast<float>(x)); }
394

Callers 13

atan2_impl_doubleFunction · 0.70
s12x4Class · 0.50
s24x8Class · 0.50
s8x8Class · 0.50
s4x12Class · 0.50
lerpFunction · 0.50
s8x24Class · 0.50
asinMethod · 0.50
acosMethod · 0.50
test_atan2_implFunction · 0.50
measure_atan2Function · 0.50
measure_atan2_tFunction · 0.50

Calls 2

atan2_impl_doubleFunction · 0.85
atan2_impl_floatFunction · 0.85

Tested by 1

test_atan2_implFunction · 0.40