FastLED 3.7.8
|
Template class for representing fractional ints.
T | underlying type for data storage |
F | number of fractional bits |
I | number of integer bits |
Definition at line 828 of file lib8tion.h.
#include <lib8tion.h>
Public Member Functions | |
qfx (float fx) | |
Constructor, storing a float as a fractional int. | |
qfx (uint8_t _i, uint8_t _f) | |
Constructor, storing a fractional int directly. | |
uint32_t | operator* (uint32_t v) |
Multiply the fractional int by a value. | |
uint16_t | operator* (uint16_t v) |
Multiply the fractional int by a value. | |
int32_t | operator* (int32_t v) |
Multiply the fractional int by a value. | |
int16_t | operator* (int16_t v) |
Multiply the fractional int by a value. | |
Constructor, storing a float as a fractional int.
Definition at line 833 of file lib8tion.h.
Constructor, storing a fractional int directly.
Definition at line 835 of file lib8tion.h.
|
inline |
Multiply the fractional int by a value.
Definition at line 844 of file lib8tion.h.
|
inline |
Multiply the fractional int by a value.
Definition at line 842 of file lib8tion.h.
|
inline |
Multiply the fractional int by a value.
Definition at line 840 of file lib8tion.h.
|
inline |
Multiply the fractional int by a value.
Definition at line 838 of file lib8tion.h.