arduino-audio-tools
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
float32 Class Reference

Stores float values as uint32_t so that we can use memory allocated with MALLOC_CAP_32BIT. More...

#include <Float32.h>

Public Member Functions

 float32 (const float32 &value)
 
 float32 (float value)
 
 operator double ()
 
 operator float ()
 
 operator int ()
 
 operator int () const
 
bool operator!= (float32 other) const
 
bool operator< (float32 other) const
 
bool operator<= (float32 other) const
 
bool operator== (float32 other) const
 
bool operator> (float32 other) const
 
bool operator>= (float32 other) const
 

Static Protected Member Functions

static float as_float (uint32_t x)
 
static uint32_t as_uint (float x)
 

Protected Attributes

uint32_t value =0
 

Detailed Description

Stores float values as uint32_t so that we can use memory allocated with MALLOC_CAP_32BIT.

Author
Phil Schatzmann

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