FastLED 3.10.6
Loading...
Searching...
No Matches

◆ generate_nolock() [2/3]

result_type fl::math::random::generate_nolock ( result_type min,
result_type max )
inlineprivate

Definition at line 79 of file random.h.

79 {
80 result_type delta = max - min;
81 return generate_nolock(delta) + min;
82 }
result_type generate_nolock() FL_NO_EXCEPT
Definition random.h:68
constexpr common_type_t< T, U > max(T a, U b) FL_NO_EXCEPT
Definition math.h:75
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NO_EXCEPT
Definition math.h:71

References fl::FL_NO_EXCEPT, generate_nolock(), fl::max(), and fl::min().

+ Here is the call graph for this function: