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

Function sin

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

Source from the content-addressed store, hash-verified

351// sin
352inline float sinf(float value) FL_NOEXCEPT { return sin_impl_float(value); }
353inline double sin(double value) FL_NOEXCEPT { return sin_impl_double(value); }
354template<typename T> inline typename enable_if<is_integral<T>::value, float>::type
355sin(T value) FL_NOEXCEPT { return sin_impl_float(static_cast<float>(value)); }
356

Callers 15

next_pointFunction · 0.90
sin_impl_doubleFunction · 0.70
CircleMethod · 0.70
emitLissajousLineMethod · 0.50
s12x4Class · 0.50
s24x8Class · 0.50
s8x8Class · 0.50
s4x12Class · 0.50
lerpFunction · 0.50
s8x24Class · 0.50
sinMethod · 0.50
createMockAudioContextFunction · 0.50

Calls 2

sin_impl_doubleFunction · 0.85
sin_impl_floatFunction · 0.85

Tested by 3

test_sin_implFunction · 0.40
test_sincos_implFunction · 0.40