Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Enumerations | Functions | Variables
softfloat.h File Reference

Go to the source code of this file.

Data Structures

struct  __attribute__
 

Typedefs

typedef u32 float32
 
typedef u64 float64
 

Enumerations

enum  { float_tininess_after_rounding = 0, float_tininess_before_rounding = 1 }
 
enum  { float_round_nearest_even = 0, float_round_to_zero = 1, float_round_down = 2, float_round_up = 3 }
 
enum  {
  float_flag_invalid = 1, float_flag_divbyzero = 2, float_flag_overflow = 4, float_flag_underflow = 8,
  float_flag_inexact = 16
}
 

Functions

 aligned (4))) floatx80
 
void float_raise (signed char)
 
float32 int32_to_float32 (struct roundingData *, signed int)
 
float64 int32_to_float64 (signed int)
 
signed int float32_to_int32 (struct roundingData *, float32)
 
signed int float32_to_int32_round_to_zero (float32)
 
float64 float32_to_float64 (float32)
 
float32 float32_round_to_int (struct roundingData *, float32)
 
float32 float32_add (struct roundingData *, float32, float32)
 
float32 float32_sub (struct roundingData *, float32, float32)
 
float32 float32_mul (struct roundingData *, float32, float32)
 
float32 float32_div (struct roundingData *, float32, float32)
 
float32 float32_rem (struct roundingData *, float32, float32)
 
float32 float32_sqrt (struct roundingData *, float32)
 
char float32_eq (float32, float32)
 
char float32_le (float32, float32)
 
char float32_lt (float32, float32)
 
char float32_eq_signaling (float32, float32)
 
char float32_le_quiet (float32, float32)
 
char float32_lt_quiet (float32, float32)
 
char float32_is_signaling_nan (float32)
 
signed int float64_to_int32 (struct roundingData *, float64)
 
signed int float64_to_int32_round_to_zero (float64)
 
float32 float64_to_float32 (struct roundingData *, float64)
 
float64 float64_round_to_int (struct roundingData *, float64)
 
float64 float64_add (struct roundingData *, float64, float64)
 
float64 float64_sub (struct roundingData *, float64, float64)
 
float64 float64_mul (struct roundingData *, float64, float64)
 
float64 float64_div (struct roundingData *, float64, float64)
 
float64 float64_rem (struct roundingData *, float64, float64)
 
float64 float64_sqrt (struct roundingData *, float64)
 
char float64_eq (float64, float64)
 
char float64_le (float64, float64)
 
char float64_lt (float64, float64)
 
char float64_eq_signaling (float64, float64)
 
char float64_le_quiet (float64, float64)
 
char float64_lt_quiet (float64, float64)
 
char float64_is_signaling_nan (float64)
 
flag float32_is_nan (float32 a)
 
flag float64_is_nan (float64 a)
 
int32 float64_to_uint32 (struct roundingData *roundData, float64 a)
 
int32 float64_to_uint32_round_to_zero (float64 a)
 

Variables

signed char float_detect_tininess
 
enum { ... } struct __attribute__ aligned
 

Typedef Documentation

typedef u32 float32

Definition at line 53 of file softfloat.h.

typedef u64 float64

Definition at line 54 of file softfloat.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
float_tininess_after_rounding 
float_tininess_before_rounding 

Definition at line 72 of file softfloat.h.

anonymous enum
Enumerator:
float_round_nearest_even 
float_round_to_zero 
float_round_down 
float_round_up 

Definition at line 83 of file softfloat.h.

anonymous enum
Enumerator:
float_flag_invalid 
float_flag_divbyzero 
float_flag_overflow 
float_flag_underflow 
float_flag_inexact 

Definition at line 106 of file softfloat.h.

Function Documentation

aligned ( )
float32 float32_add ( struct roundingData ,
float32  ,
float32   
)

Definition at line 1175 of file softfloat.c.

float32 float32_div ( struct roundingData ,
float32  ,
float32   
)

Definition at line 1280 of file softfloat.c.

char float32_eq ( float32  ,
float32   
)

Definition at line 1505 of file softfloat.c.

char float32_eq_signaling ( float32  ,
float32   
)

Definition at line 1577 of file softfloat.c.

flag float32_is_nan ( float32  a)
char float32_is_signaling_nan ( float32  )
char float32_le ( float32  ,
float32   
)

Definition at line 1528 of file softfloat.c.

char float32_le_quiet ( float32  ,
float32   
)

Definition at line 1598 of file softfloat.c.

char float32_lt ( float32  ,
float32   
)

Definition at line 1552 of file softfloat.c.

char float32_lt_quiet ( float32  ,
float32   
)

Definition at line 1624 of file softfloat.c.

float32 float32_mul ( struct roundingData ,
float32  ,
float32   
)

Definition at line 1219 of file softfloat.c.

float32 float32_rem ( struct roundingData ,
float32  ,
float32   
)

Definition at line 1347 of file softfloat.c.

float32 float32_round_to_int ( struct roundingData ,
float32   
)

Definition at line 968 of file softfloat.c.

float32 float32_sqrt ( struct roundingData ,
float32   
)

Definition at line 1450 of file softfloat.c.

float32 float32_sub ( struct roundingData ,
float32  ,
float32   
)

Definition at line 1197 of file softfloat.c.

float64 float32_to_float64 ( float32  )

Definition at line 904 of file softfloat.c.

signed int float32_to_int32 ( struct roundingData ,
float32   
)

Definition at line 835 of file softfloat.c.

signed int float32_to_int32_round_to_zero ( float32  )

Definition at line 866 of file softfloat.c.

float64 float64_add ( struct roundingData ,
float64  ,
float64   
)

Definition at line 2071 of file softfloat.c.

float64 float64_div ( struct roundingData ,
float64  ,
float64   
)

Definition at line 2174 of file softfloat.c.

char float64_eq ( float64  ,
float64   
)

Definition at line 2392 of file softfloat.c.

char float64_eq_signaling ( float64  ,
float64   
)

Definition at line 2464 of file softfloat.c.

flag float64_is_nan ( float64  a)
char float64_is_signaling_nan ( float64  )
char float64_le ( float64  ,
float64   
)

Definition at line 2415 of file softfloat.c.

char float64_le_quiet ( float64  ,
float64   
)

Definition at line 2485 of file softfloat.c.

char float64_lt ( float64  ,
float64   
)

Definition at line 2439 of file softfloat.c.

char float64_lt_quiet ( float64  ,
float64   
)

Definition at line 2511 of file softfloat.c.

float64 float64_mul ( struct roundingData ,
float64  ,
float64   
)

Definition at line 2115 of file softfloat.c.

float64 float64_rem ( struct roundingData ,
float64  ,
float64   
)

Definition at line 2245 of file softfloat.c.

float64 float64_round_to_int ( struct roundingData ,
float64   
)

Definition at line 1863 of file softfloat.c.

float64 float64_sqrt ( struct roundingData ,
float64   
)

Definition at line 2331 of file softfloat.c.

float64 float64_sub ( struct roundingData ,
float64  ,
float64   
)

Definition at line 2093 of file softfloat.c.

float32 float64_to_float32 ( struct roundingData ,
float64   
)

Definition at line 1796 of file softfloat.c.

signed int float64_to_int32 ( struct roundingData ,
float64   
)

Definition at line 1652 of file softfloat.c.

signed int float64_to_int32_round_to_zero ( float64  )

Definition at line 1680 of file softfloat.c.

int32 float64_to_uint32 ( struct roundingData roundData,
float64  a 
)

Definition at line 1727 of file softfloat.c.

int32 float64_to_uint32_round_to_zero ( float64  a)

Definition at line 1753 of file softfloat.c.

void float_raise ( signed  char)

Definition at line 143 of file fpmodule.c.

float32 int32_to_float32 ( struct roundingData ,
signed  int 
)
float64 int32_to_float64 ( signed  int)

Variable Documentation

enum { ... } struct __attribute__ aligned
signed char float_detect_tininess