FastLED
3.9.15
Loading...
Searching...
No Matches
◆
operator()()
[2/3]
result_type
fl::fl_random::operator()
(
result_type
min
,
result_type
max
)
inline
Generate a random number in the range [min, max)
Parameters
min
The lower bound (inclusive)
max
The upper bound (exclusive)
Returns
A random number from min to max-1
Definition at line
71
of file
random.h
.
71
{
72
result_type
delta = max - min;
73
result_type
r = (*this)(delta) + min;
74
return
r;
75
}
fl::fl_random::result_type
u32 result_type
The result type for this random generator (32-bit unsigned integer)
Definition
random.h:42
fl
fl_random
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2