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

Go to the source code of this file.

Data Structures

union  _FP_UNION_S
 

Macros

#define _FP_FRACBITS_S   24
 
#define _FP_FRACXBITS_S   (_FP_W_TYPE_SIZE - _FP_FRACBITS_S)
 
#define _FP_WFRACBITS_S   (_FP_WORKBITS + _FP_FRACBITS_S)
 
#define _FP_WFRACXBITS_S   (_FP_W_TYPE_SIZE - _FP_WFRACBITS_S)
 
#define _FP_EXPBITS_S   8
 
#define _FP_EXPBIAS_S   127
 
#define _FP_EXPMAX_S   255
 
#define _FP_QNANBIT_S   ((_FP_W_TYPE)1 << (_FP_FRACBITS_S-2))
 
#define _FP_IMPLBIT_S   ((_FP_W_TYPE)1 << (_FP_FRACBITS_S-1))
 
#define _FP_OVERFLOW_S   ((_FP_W_TYPE)1 << (_FP_WFRACBITS_S))
 
#define FP_DECL_S(X)   _FP_DECL(1,X)
 
#define FP_UNPACK_RAW_S(X, val)   _FP_UNPACK_RAW_1(S,X,val)
 
#define FP_UNPACK_RAW_SP(X, val)   _FP_UNPACK_RAW_1_P(S,X,val)
 
#define FP_PACK_RAW_S(val, X)   _FP_PACK_RAW_1(S,val,X)
 
#define FP_PACK_RAW_SP(val, X)
 
#define FP_UNPACK_S(X, val)
 
#define FP_UNPACK_SP(X, val)
 
#define FP_PACK_S(val, X)
 
#define FP_PACK_SP(val, X)
 
#define FP_ISSIGNAN_S(X)   _FP_ISSIGNAN(S,1,X)
 
#define FP_NEG_S(R, X)   _FP_NEG(S,1,R,X)
 
#define FP_ADD_S(R, X, Y)   _FP_ADD(S,1,R,X,Y)
 
#define FP_SUB_S(R, X, Y)   _FP_SUB(S,1,R,X,Y)
 
#define FP_MUL_S(R, X, Y)   _FP_MUL(S,1,R,X,Y)
 
#define FP_DIV_S(R, X, Y)   _FP_DIV(S,1,R,X,Y)
 
#define FP_SQRT_S(R, X)   _FP_SQRT(S,1,R,X)
 
#define _FP_SQRT_MEAT_S(R, S, T, X, Q)   _FP_SQRT_MEAT_1(R,S,T,X,Q)
 
#define FP_CMP_S(r, X, Y, un)   _FP_CMP(S,1,r,X,Y,un)
 
#define FP_CMP_EQ_S(r, X, Y)   _FP_CMP_EQ(S,1,r,X,Y)
 
#define FP_TO_INT_S(r, X, rsz, rsg)   _FP_TO_INT(S,1,r,X,rsz,rsg)
 
#define FP_TO_INT_ROUND_S(r, X, rsz, rsg)   _FP_TO_INT_ROUND(S,1,r,X,rsz,rsg)
 
#define FP_FROM_INT_S(X, r, rs, rt)   _FP_FROM_INT(S,1,X,r,rs,rt)
 
#define _FP_FRAC_HIGH_S(X)   _FP_FRAC_HIGH_1(X)
 
#define _FP_FRAC_HIGH_RAW_S(X)   _FP_FRAC_HIGH_1(X)
 

Variables

unsigned sign
 
unsigned exp
 
unsigned frac
 
union _FP_UNION_S __attribute__
 

Macro Definition Documentation

#define _FP_EXPBIAS_S   127

Definition at line 37 of file single.h.

#define _FP_EXPBITS_S   8

Definition at line 36 of file single.h.

#define _FP_EXPMAX_S   255

Definition at line 38 of file single.h.

#define _FP_FRAC_HIGH_RAW_S (   X)    _FP_FRAC_HIGH_1(X)

Definition at line 114 of file single.h.

#define _FP_FRAC_HIGH_S (   X)    _FP_FRAC_HIGH_1(X)

Definition at line 113 of file single.h.

#define _FP_FRACBITS_S   24

Definition at line 32 of file single.h.

#define _FP_FRACXBITS_S   (_FP_W_TYPE_SIZE - _FP_FRACBITS_S)

Definition at line 33 of file single.h.

#define _FP_IMPLBIT_S   ((_FP_W_TYPE)1 << (_FP_FRACBITS_S-1))

Definition at line 40 of file single.h.

#define _FP_OVERFLOW_S   ((_FP_W_TYPE)1 << (_FP_WFRACBITS_S))

Definition at line 41 of file single.h.

#define _FP_QNANBIT_S   ((_FP_W_TYPE)1 << (_FP_FRACBITS_S-2))

Definition at line 39 of file single.h.

#define _FP_SQRT_MEAT_S (   R,
  S,
  T,
  X,
  Q 
)    _FP_SQRT_MEAT_1(R,S,T,X,Q)

Definition at line 104 of file single.h.

#define _FP_WFRACBITS_S   (_FP_WORKBITS + _FP_FRACBITS_S)

Definition at line 34 of file single.h.

#define _FP_WFRACXBITS_S   (_FP_W_TYPE_SIZE - _FP_WFRACBITS_S)

Definition at line 35 of file single.h.

#define FP_ADD_S (   R,
  X,
 
)    _FP_ADD(S,1,R,X,Y)

Definition at line 99 of file single.h.

#define FP_CMP_EQ_S (   r,
  X,
 
)    _FP_CMP_EQ(S,1,r,X,Y)

Definition at line 107 of file single.h.

#define FP_CMP_S (   r,
  X,
  Y,
  un 
)    _FP_CMP(S,1,r,X,Y,un)

Definition at line 106 of file single.h.

#define FP_DECL_S (   X)    _FP_DECL(1,X)

Definition at line 62 of file single.h.

#define FP_DIV_S (   R,
  X,
 
)    _FP_DIV(S,1,R,X,Y)

Definition at line 102 of file single.h.

#define FP_FROM_INT_S (   X,
  r,
  rs,
  rt 
)    _FP_FROM_INT(S,1,X,r,rs,rt)

Definition at line 111 of file single.h.

#define FP_ISSIGNAN_S (   X)    _FP_ISSIGNAN(S,1,X)

Definition at line 97 of file single.h.

#define FP_MUL_S (   R,
  X,
 
)    _FP_MUL(S,1,R,X,Y)

Definition at line 101 of file single.h.

#define FP_NEG_S (   R,
  X 
)    _FP_NEG(S,1,R,X)

Definition at line 98 of file single.h.

#define FP_PACK_RAW_S (   val,
  X 
)    _FP_PACK_RAW_1(S,val,X)

Definition at line 65 of file single.h.

#define FP_PACK_RAW_SP (   val,
  X 
)
Value:
do { \
_FP_PACK_RAW_1_P(S,val,X); \
} while (0)

Definition at line 66 of file single.h.

#define FP_PACK_S (   val,
  X 
)
Value:
do { \
_FP_PACK_CANONICAL(S,1,X); \
_FP_PACK_RAW_1(S,val,X); \
} while (0)

Definition at line 84 of file single.h.

#define FP_PACK_SP (   val,
  X 
)
Value:
do { \
_FP_PACK_CANONICAL(S,1,X); \
_FP_PACK_RAW_1_P(S,val,X); \
} while (0)

Definition at line 90 of file single.h.

#define FP_SQRT_S (   R,
  X 
)    _FP_SQRT(S,1,R,X)

Definition at line 103 of file single.h.

#define FP_SUB_S (   R,
  X,
 
)    _FP_SUB(S,1,R,X,Y)

Definition at line 100 of file single.h.

#define FP_TO_INT_ROUND_S (   r,
  X,
  rsz,
  rsg 
)    _FP_TO_INT_ROUND(S,1,r,X,rsz,rsg)

Definition at line 110 of file single.h.

#define FP_TO_INT_S (   r,
  X,
  rsz,
  rsg 
)    _FP_TO_INT(S,1,r,X,rsz,rsg)

Definition at line 109 of file single.h.

#define FP_UNPACK_RAW_S (   X,
  val 
)    _FP_UNPACK_RAW_1(S,X,val)

Definition at line 63 of file single.h.

#define FP_UNPACK_RAW_SP (   X,
  val 
)    _FP_UNPACK_RAW_1_P(S,X,val)

Definition at line 64 of file single.h.

#define FP_UNPACK_S (   X,
  val 
)
Value:
do { \
_FP_UNPACK_RAW_1(S,X,val); \
_FP_UNPACK_CANONICAL(S,1,X); \
} while (0)

Definition at line 72 of file single.h.

#define FP_UNPACK_SP (   X,
  val 
)
Value:
do { \
_FP_UNPACK_RAW_1_P(S,X,val); \
_FP_UNPACK_CANONICAL(S,1,X); \
} while (0)

Definition at line 78 of file single.h.

Variable Documentation

unsigned exp

Definition at line 62 of file single.h.

unsigned frac

Definition at line 63 of file single.h.

unsigned sign

Definition at line 61 of file single.h.