arduino-audio-tools
|
Stores float values with 2 bytes. More...
#include <Float16.h>
Public Member Functions | |
float16 (const float16 &value16) | |
float16 (float in) | |
operator double () | |
operator float () | |
operator int () | |
operator int () const | |
bool | operator!= (float16 other) const |
bool | operator< (float16 other) const |
bool | operator<= (float16 other) const |
bool | operator== (float16 other) const |
bool | operator> (float16 other) const |
bool | operator>= (float16 other) const |
Static Protected Member Functions | |
static float | as_float (const uint32_t x) |
static uint32_t | as_uint (const float x) |
static uint16_t | float_to_half (const float x) |
static float | half_to_float (const uint16_t x) |
Protected Attributes | |
uint16_t | value = 0 |
Stores float values with 2 bytes.
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |