#include <stdint.h>
#include "common.h"
Go to the source code of this file.
Data Structures | |
struct | SoftFloat |
Defines | |
#define | MIN_EXP -126 |
#define | MAX_EXP 126 |
#define | ONE_BITS 29 |
Functions | |
static av_const SoftFloat | av_normalize_sf (SoftFloat a) |
static av_const SoftFloat | av_normalize1_sf (SoftFloat a) |
static av_const SoftFloat | av_mul_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_div_sf (SoftFloat a, SoftFloat b) |
b has to be normalized and not zero. | |
static av_const int | av_cmp_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_add_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_sub_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_int2sf (int v, int frac_bits) |
static av_const int | av_sf2int (SoftFloat v, int frac_bits) |
Rounding is to -inf. |
#define MAX_EXP 126 |
Definition at line 28 of file softfloat.h.
#define MIN_EXP -126 |
#define ONE_BITS 29 |
Definition at line 29 of file softfloat.h.
Referenced by av_div_sf(), av_int2sf(), av_mul_sf(), av_normalize_sf(), and av_sf2int().
Definition at line 95 of file softfloat.h.
b has to be normalized and not zero.
Definition at line 89 of file softfloat.h.
Referenced by main().
Definition at line 79 of file softfloat.h.
Referenced by main().
Definition at line 107 of file softfloat.h.