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

Method next

tests/misc/fft_sweep.hpp:1108–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106 ::fl::u32 state;
1107 SimplePRNG(::fl::u32 seed = 12345u) : state(seed) {}
1108 ::fl::u32 next() {
1109 state = state * 1664525u + 1013904223u;
1110 return state;
1111 }
1112 // Returns i16 in [-16384, 16383]
1113 ::fl::i16 nextI16() {
1114 return static_cast<::fl::i16>(

Callers 4

FL_TEST_FILEFunction · 0.45
controllerInListFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected