FastLED 3.9.13
Loading...
Searching...
No Matches
types.h File Reference

Detailed Description

Defines fractional types used for lib8tion functions.

Definition in file types.h.

#include <stdint.h>
#include "fl/namespace.h"

Go to the source code of this file.

Classes

union  IEEE754binary32_t
 typedef for IEEE754 "binary32" float type internals More...
 

Typedefs

typedef uint8_t fract8
 ANSI: unsigned short _Fract.
 
typedef int8_t sfract7
 ANSI: signed short _Fract.
 
typedef uint16_t fract16
 ANSI: unsigned _Fract.
 
typedef int32_t sfract31
 ANSI: signed long _Fract. 31 bits int, 1 bit fraction.
 
typedef uint32_t fract32
 ANSI: unsigned long _Fract. 32 bits int, 32 bits fraction.
 
typedef int16_t sfract15
 ANSI: signed _Fract.
 
typedef uint16_t accum88
 ANSI: unsigned short _Accum. 8 bits int, 8 bits fraction.
 
typedef int16_t saccum78
 ANSI: signed short _Accum. 7 bits int, 8 bits fraction.
 
typedef uint32_t accum1616
 ANSI: signed _Accum. 16 bits int, 16 bits fraction.
 
typedef int32_t saccum1516
 ANSI: signed _Accum. 15 bits int, 16 bits fraction.
 
typedef uint16_t accum124
 no direct ANSI counterpart. 12 bits int, 4 bits fraction
 
typedef int32_t saccum114
 no direct ANSI counterpart. 1 bit int, 14 bits fraction