#include <stdio.h>
#include <f16.h>
Go to the source code of this file.
Functions | |
f16 | f16_from_integer (int8_t i, uint8_t d) |
f16 | f16_from_msb (int8_t i) |
f16 | f16_from_lsb (int8_t i) |
f16 f16_from_integer | ( | int8_t | i, | |
uint8_t | d | |||
) |
convert 2 integer (int8_t and uint8_t) to a f16
Definition at line 28 of file f16_int.c.
References parse_symbols::f.
f16 f16_from_lsb | ( | int8_t | i | ) |
convert lsb integer (int8_t) to a f16 ( -0.5 < ret < 0.5 )
Definition at line 51 of file f16_int.c.
References parse_symbols::f.
f16 f16_from_msb | ( | int8_t | i | ) |
convert msb integer (int8_t) to a f16
Definition at line 39 of file f16_int.c.
References parse_symbols::f.