Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
softfloat.c File Reference
#include <asm/div64.h>
#include "fpa11.h"
#include "softfloat-macros"
#include "softfloat-specialize"

Go to the source code of this file.

Functions

INLINE bits32 extractFloat32Frac (float32 a)
 
INLINE int16 extractFloat32Exp (float32 a)
 
INLINE float32 packFloat32 (flag zSign, int16 zExp, bits32 zSig)
 
INLINE bits64 extractFloat64Frac (float64 a)
 
INLINE int16 extractFloat64Exp (float64 a)
 
INLINE float64 packFloat64 (flag zSign, int16 zExp, bits64 zSig)
 
float32 int32_to_float32 (struct roundingData *roundData, int32 a)
 
float64 int32_to_float64 (int32 a)
 
int32 float32_to_int32 (struct roundingData *roundData, float32 a)
 
int32 float32_to_int32_round_to_zero (float32 a)
 
float64 float32_to_float64 (float32 a)
 
float32 float32_round_to_int (struct roundingData *roundData, float32 a)
 
float32 float32_add (struct roundingData *roundData, float32 a, float32 b)
 
float32 float32_sub (struct roundingData *roundData, float32 a, float32 b)
 
float32 float32_mul (struct roundingData *roundData, float32 a, float32 b)
 
float32 float32_div (struct roundingData *roundData, float32 a, float32 b)
 
float32 float32_rem (struct roundingData *roundData, float32 a, float32 b)
 
float32 float32_sqrt (struct roundingData *roundData, float32 a)
 
flag float32_eq (float32 a, float32 b)
 
flag float32_le (float32 a, float32 b)
 
flag float32_lt (float32 a, float32 b)
 
flag float32_eq_signaling (float32 a, float32 b)
 
flag float32_le_quiet (float32 a, float32 b)
 
flag float32_lt_quiet (float32 a, float32 b)
 
int32 float64_to_int32 (struct roundingData *roundData, float64 a)
 
int32 float64_to_int32_round_to_zero (float64 a)
 
int32 float64_to_uint32 (struct roundingData *roundData, float64 a)
 
int32 float64_to_uint32_round_to_zero (float64 a)
 
float32 float64_to_float32 (struct roundingData *roundData, float64 a)
 
float64 float64_round_to_int (struct roundingData *roundData, float64 a)
 
float64 float64_add (struct roundingData *roundData, float64 a, float64 b)
 
float64 float64_sub (struct roundingData *roundData, float64 a, float64 b)
 
float64 float64_mul (struct roundingData *roundData, float64 a, float64 b)
 
float64 float64_div (struct roundingData *roundData, float64 a, float64 b)
 
float64 float64_rem (struct roundingData *roundData, float64 a, float64 b)
 
float64 float64_sqrt (struct roundingData *roundData, float64 a)
 
flag float64_eq (float64 a, float64 b)
 
flag float64_le (float64 a, float64 b)
 
flag float64_lt (float64 a, float64 b)
 
flag float64_eq_signaling (float64 a, float64 b)
 
flag float64_le_quiet (float64 a, float64 b)
 
flag float64_lt_quiet (float64 a, float64 b)
 

Function Documentation

int16 extractFloat32Exp ( float32  a)

Definition at line 125 of file softfloat.c.

bits32 extractFloat32Frac ( float32  a)

Definition at line 113 of file softfloat.c.

int16 extractFloat64Exp ( float64  a)

Definition at line 306 of file softfloat.c.

bits64 extractFloat64Frac ( float64  a)

Definition at line 294 of file softfloat.c.

float32 float32_add ( struct roundingData roundData,
float32  a,
float32  b 
)

Definition at line 1175 of file softfloat.c.

float32 float32_div ( struct roundingData roundData,
float32  a,
float32  b 
)

Definition at line 1280 of file softfloat.c.

flag float32_eq ( float32  a,
float32  b 
)

Definition at line 1505 of file softfloat.c.

flag float32_eq_signaling ( float32  a,
float32  b 
)

Definition at line 1577 of file softfloat.c.

flag float32_le ( float32  a,
float32  b 
)

Definition at line 1528 of file softfloat.c.

flag float32_le_quiet ( float32  a,
float32  b 
)

Definition at line 1598 of file softfloat.c.

flag float32_lt ( float32  a,
float32  b 
)

Definition at line 1552 of file softfloat.c.

flag float32_lt_quiet ( float32  a,
float32  b 
)

Definition at line 1624 of file softfloat.c.

float32 float32_mul ( struct roundingData roundData,
float32  a,
float32  b 
)

Definition at line 1219 of file softfloat.c.

float32 float32_rem ( struct roundingData roundData,
float32  a,
float32  b 
)

Definition at line 1347 of file softfloat.c.

float32 float32_round_to_int ( struct roundingData roundData,
float32  a 
)

Definition at line 968 of file softfloat.c.

float32 float32_sqrt ( struct roundingData roundData,
float32  a 
)

Definition at line 1450 of file softfloat.c.

float32 float32_sub ( struct roundingData roundData,
float32  a,
float32  b 
)

Definition at line 1197 of file softfloat.c.

float64 float32_to_float64 ( float32  a)

Definition at line 904 of file softfloat.c.

int32 float32_to_int32 ( struct roundingData roundData,
float32  a 
)

Definition at line 835 of file softfloat.c.

int32 float32_to_int32_round_to_zero ( float32  a)

Definition at line 866 of file softfloat.c.

float64 float64_add ( struct roundingData roundData,
float64  a,
float64  b 
)

Definition at line 2071 of file softfloat.c.

float64 float64_div ( struct roundingData roundData,
float64  a,
float64  b 
)

Definition at line 2174 of file softfloat.c.

flag float64_eq ( float64  a,
float64  b 
)

Definition at line 2392 of file softfloat.c.

flag float64_eq_signaling ( float64  a,
float64  b 
)

Definition at line 2464 of file softfloat.c.

flag float64_le ( float64  a,
float64  b 
)

Definition at line 2415 of file softfloat.c.

flag float64_le_quiet ( float64  a,
float64  b 
)

Definition at line 2485 of file softfloat.c.

flag float64_lt ( float64  a,
float64  b 
)

Definition at line 2439 of file softfloat.c.

flag float64_lt_quiet ( float64  a,
float64  b 
)

Definition at line 2511 of file softfloat.c.

float64 float64_mul ( struct roundingData roundData,
float64  a,
float64  b 
)

Definition at line 2115 of file softfloat.c.

float64 float64_rem ( struct roundingData roundData,
float64  a,
float64  b 
)

Definition at line 2245 of file softfloat.c.

float64 float64_round_to_int ( struct roundingData roundData,
float64  a 
)

Definition at line 1863 of file softfloat.c.

float64 float64_sqrt ( struct roundingData roundData,
float64  a 
)

Definition at line 2331 of file softfloat.c.

float64 float64_sub ( struct roundingData roundData,
float64  a,
float64  b 
)

Definition at line 2093 of file softfloat.c.

float32 float64_to_float32 ( struct roundingData roundData,
float64  a 
)

Definition at line 1796 of file softfloat.c.

int32 float64_to_int32 ( struct roundingData roundData,
float64  a 
)

Definition at line 1652 of file softfloat.c.

int32 float64_to_int32_round_to_zero ( float64  a)

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.

float32 int32_to_float32 ( struct roundingData roundData,
int32  a 
)

Definition at line 762 of file softfloat.c.

float64 int32_to_float64 ( int32  a)

Definition at line 780 of file softfloat.c.

float32 packFloat32 ( flag  zSign,
int16  zExp,
bits32  zSig 
)

Definition at line 177 of file softfloat.c.

float64 packFloat64 ( flag  zSign,
int16  zExp,
bits64  zSig 
)

Definition at line 358 of file softfloat.c.