FastLED 3.7.8
Loading...
Searching...
No Matches
IEEE754binary32_t Union Reference

Detailed Description

typedef for IEEE754 "binary32" float type internals

See also
https://en.wikipedia.org/wiki/IEEE_754

Definition at line 58 of file types.h.

#include <types.h>

Public Attributes

uint32_t i
 raw value, as an integer
 
float f
 raw value, as a float
 
struct { 
 
   uint32_t   mantissa: 23 
 23-bit mantissa More...
 
   uint32_t   exponent: 8 
 8-bit exponent More...
 
   uint32_t   signbit: 1 
 sign bit More...
 
};  
 
struct { 
 
   uint32_t   mant7: 7 
 
   uint32_t   mant16: 16 
 
   uint32_t   exp_: 8 
 
   uint32_t   sb_: 1 
 
};  
 
struct { 
 
   uint32_t   mant_lo8: 8 
 
   uint32_t   mant_hi16_exp_lo1: 16 
 
   uint32_t   sb_exphi7: 8 
 
};  
 

Member Data Documentation

◆ exp_

uint32_t IEEE754binary32_t::exp_
Todo
Doc: what is this for?

Definition at line 69 of file types.h.

◆ exponent

uint32_t IEEE754binary32_t::exponent

8-bit exponent

Definition at line 63 of file types.h.

◆ f

float IEEE754binary32_t::f

raw value, as a float

Definition at line 60 of file types.h.

◆ i

uint32_t IEEE754binary32_t::i

raw value, as an integer

Definition at line 59 of file types.h.

◆ mant16

uint32_t IEEE754binary32_t::mant16
Todo
Doc: what is this for?

Definition at line 68 of file types.h.

◆ mant7

uint32_t IEEE754binary32_t::mant7
Todo
Doc: what is this for?

Definition at line 67 of file types.h.

◆ mant_hi16_exp_lo1

uint32_t IEEE754binary32_t::mant_hi16_exp_lo1
Todo
Doc: what is this for?

Definition at line 74 of file types.h.

◆ mant_lo8

uint32_t IEEE754binary32_t::mant_lo8
Todo
Doc: what is this for?

Definition at line 73 of file types.h.

◆ mantissa

uint32_t IEEE754binary32_t::mantissa

23-bit mantissa

Definition at line 62 of file types.h.

◆ sb_

uint32_t IEEE754binary32_t::sb_
Todo
Doc: what is this for?

Definition at line 70 of file types.h.

◆ sb_exphi7

uint32_t IEEE754binary32_t::sb_exphi7
Todo
Doc: what is this for?

Definition at line 75 of file types.h.

◆ signbit

uint32_t IEEE754binary32_t::signbit

sign bit

Definition at line 64 of file types.h.


The documentation for this union was generated from the following file: