FastLED 3.9.15
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_NOEXCEPT
Definition random.h:68
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NOEXCEPT
Definition math.h:71
constexpr common_type_t< T, U > max(T a, U b) FL_NOEXCEPT
Definition math.h:75

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

+ Here is the call graph for this function: