softfloat.h File Reference

Go to the source code of this file.

Classes

struct  SoftFloat

Functions

static SoftFloat av_normalize_sf (SoftFloat a)
static SoftFloat av_normalize1_sf (SoftFloat a)
static SoftFloat av_mul_sf (SoftFloat a, SoftFloat b)
static SoftFloat av_div_sf (SoftFloat a, SoftFloat b)
 b has to be normalized and not zero
static int av_cmp_sf (SoftFloat a, SoftFloat b)
static SoftFloat av_add_sf (SoftFloat a, SoftFloat b)
static SoftFloat av_sub_sf (SoftFloat a, SoftFloat b)
static SoftFloat av_int2sf (int v, int frac_bits)
static int av_sf2int (SoftFloat v, int frac_bits)
 rounding is to -inf


Function Documentation

static SoftFloat av_normalize_sf ( SoftFloat  a  )  [static]

Definition at line 35 of file softfloat.h.

Referenced by av_int2sf(), and main().

static SoftFloat av_normalize1_sf ( SoftFloat  a  )  [inline, static]

Definition at line 57 of file softfloat.h.

Referenced by av_add_sf(), av_div_sf(), and av_mul_sf().

static SoftFloat av_mul_sf ( SoftFloat  a,
SoftFloat  b 
) [inline, static]

Returns:
will not be more denormalized then a+b, so if either input is normalized then the output wont be worse then the other input if both are normalized then the output will be normalized

Definition at line 79 of file softfloat.h.

Referenced by main().

static SoftFloat av_div_sf ( SoftFloat  a,
SoftFloat  b 
) [static]

b has to be normalized and not zero

Returns:
will not be more denormalized then a

Definition at line 90 of file softfloat.h.

Referenced by main().

static int av_cmp_sf ( SoftFloat  a,
SoftFloat  b 
) [inline, static]

Definition at line 96 of file softfloat.h.

static SoftFloat av_add_sf ( SoftFloat  a,
SoftFloat  b 
) [inline, static]

Definition at line 102 of file softfloat.h.

Referenced by av_sub_sf(), and main().

static SoftFloat av_sub_sf ( SoftFloat  a,
SoftFloat  b 
) [inline, static]

Definition at line 108 of file softfloat.h.

static SoftFloat av_int2sf ( int  v,
int  frac_bits 
) [inline, static]

Definition at line 114 of file softfloat.h.

Referenced by main().

static int av_sf2int ( SoftFloat  v,
int  frac_bits 
) [inline, static]

rounding is to -inf

Definition at line 122 of file softfloat.h.

Referenced by main().


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5