#include <stdio.h>
#include <f16.h>
Go to the source code of this file.
Defines | |
#define | POW2_8F (256.0) |
Functions | |
f16 | f16_from_double (double d) |
double | f16_to_double (f16 f) |
#define POW2_8F (256.0) |
f16 f16_from_double | ( | double | f | ) |
convert a double to a f16
Definition at line 31 of file f16_double.c.
References parse_symbols::f, and POW2_8F.
double f16_to_double | ( | f16 | fix | ) |
convert a f16 to a double
Definition at line 40 of file f16_double.c.
References POW2_8F.
Referenced by f16_print().