FastLED 3.9.15
|
LIB8STATIC_ALWAYS_INLINE int16_t avg15 | ( | int16_t | i, |
int16_t | j ) |
Calculate an integer average of two signed 15-bit integers (int16_t).
If the first argument is even, result is rounded down. If the first argument is odd, result is rounded up.
i | first value to average |
j | second value to average |
Definition at line 328 of file math8.h.
References LIB8STATIC_ALWAYS_INLINE.