#include <stdio.h>
#include <f32.h>
Go to the source code of this file.
Functions | |
f32 | f32_from_integer (int16_t i, uint16_t d) |
f32 | f32_from_msb (int16_t i) |
f32 | f32_from_lsb (int16_t i) |
f32 f32_from_integer | ( | int16_t | i, | |
uint16_t | d | |||
) |
convert 2 integer (int16_t and uint16_t) to a f32
Definition at line 28 of file f32_int.c.
References parse_symbols::f.
f32 f32_from_lsb | ( | int16_t | i | ) |
convert lsb integer (int16_t) to a f32 ( -0.5 < ret < 0.5 )
Definition at line 51 of file f32_int.c.
References parse_symbols::f.
f32 f32_from_msb | ( | int16_t | i | ) |
convert msb integer (int16_t) to a f32
Definition at line 39 of file f32_int.c.
References parse_symbols::f.