Back to index

glibc  2.9
Classes | Defines | Typedefs | Variables
quad.h File Reference

Go to the source code of this file.

Classes

union  _FP_UNION_Q

Defines

#define _FP_FRACTBITS_Q   (4*_FP_W_TYPE_SIZE)
#define _FP_FRACBITS_Q   113
#define _FP_FRACXBITS_Q   (_FP_FRACTBITS_Q - _FP_FRACBITS_Q)
#define _FP_WFRACBITS_Q   (_FP_WORKBITS + _FP_FRACBITS_Q)
#define _FP_WFRACXBITS_Q   (_FP_FRACTBITS_Q - _FP_WFRACBITS_Q)
#define _FP_EXPBITS_Q   15
#define _FP_EXPBIAS_Q   16383
#define _FP_EXPMAX_Q   32767
#define _FP_QNANBIT_Q   ((_FP_W_TYPE)1 << (_FP_FRACBITS_Q-2) % _FP_W_TYPE_SIZE)
#define _FP_QNANBIT_SH_Q   ((_FP_W_TYPE)1 << (_FP_FRACBITS_Q-2+_FP_WORKBITS) % _FP_W_TYPE_SIZE)
#define _FP_IMPLBIT_Q   ((_FP_W_TYPE)1 << (_FP_FRACBITS_Q-1) % _FP_W_TYPE_SIZE)
#define _FP_IMPLBIT_SH_Q   ((_FP_W_TYPE)1 << (_FP_FRACBITS_Q-1+_FP_WORKBITS) % _FP_W_TYPE_SIZE)
#define _FP_OVERFLOW_Q   ((_FP_W_TYPE)1 << (_FP_WFRACBITS_Q % _FP_W_TYPE_SIZE))
#define FP_DECL_Q(X)   _FP_DECL(4,X)
#define FP_UNPACK_RAW_Q(X, val)   _FP_UNPACK_RAW_4(Q,X,val)
#define FP_UNPACK_RAW_QP(X, val)   _FP_UNPACK_RAW_4_P(Q,X,val)
#define FP_PACK_RAW_Q(val, X)   _FP_PACK_RAW_4(Q,val,X)
#define FP_PACK_RAW_QP(val, X)
#define FP_UNPACK_Q(X, val)
#define FP_UNPACK_QP(X, val)
#define FP_UNPACK_SEMIRAW_Q(X, val)
#define FP_UNPACK_SEMIRAW_QP(X, val)
#define FP_PACK_Q(val, X)
#define FP_PACK_QP(val, X)
#define FP_PACK_SEMIRAW_Q(val, X)
#define FP_PACK_SEMIRAW_QP(val, X)
#define FP_ISSIGNAN_Q(X)   _FP_ISSIGNAN(Q,4,X)
#define FP_NEG_Q(R, X)   _FP_NEG(Q,4,R,X)
#define FP_ADD_Q(R, X, Y)   _FP_ADD(Q,4,R,X,Y)
#define FP_SUB_Q(R, X, Y)   _FP_SUB(Q,4,R,X,Y)
#define FP_MUL_Q(R, X, Y)   _FP_MUL(Q,4,R,X,Y)
#define FP_DIV_Q(R, X, Y)   _FP_DIV(Q,4,R,X,Y)
#define FP_SQRT_Q(R, X)   _FP_SQRT(Q,4,R,X)
#define _FP_SQRT_MEAT_Q(R, S, T, X, Q)   _FP_SQRT_MEAT_4(R,S,T,X,Q)
#define FP_CMP_Q(r, X, Y, un)   _FP_CMP(Q,4,r,X,Y,un)
#define FP_CMP_EQ_Q(r, X, Y)   _FP_CMP_EQ(Q,4,r,X,Y)
#define FP_CMP_UNORD_Q(r, X, Y)   _FP_CMP_UNORD(Q,4,r,X,Y)
#define FP_TO_INT_Q(r, X, rsz, rsg)   _FP_TO_INT(Q,4,r,X,rsz,rsg)
#define FP_FROM_INT_Q(X, r, rs, rt)   _FP_FROM_INT(Q,4,X,r,rs,rt)
#define _FP_FRAC_HIGH_Q(X)   _FP_FRAC_HIGH_4(X)
#define _FP_FRAC_HIGH_RAW_Q(X)   _FP_FRAC_HIGH_4(X)

Typedefs

typedef float TFtype __attribute__ ((mode(TF)))

Variables

unsigned sign
unsigned exp
unsigned long frac3
unsigned long frac2
unsigned long frac1
unsigned long frac0

Define Documentation

#define _FP_EXPBIAS_Q   16383

Definition at line 49 of file quad.h.

#define _FP_EXPBITS_Q   15

Definition at line 48 of file quad.h.

#define _FP_EXPMAX_Q   32767

Definition at line 50 of file quad.h.

#define _FP_FRAC_HIGH_Q (   X)    _FP_FRAC_HIGH_4(X)

Definition at line 167 of file quad.h.

#define _FP_FRAC_HIGH_RAW_Q (   X)    _FP_FRAC_HIGH_4(X)

Definition at line 168 of file quad.h.

#define _FP_FRACBITS_Q   113

Definition at line 44 of file quad.h.

#define _FP_FRACTBITS_Q   (4*_FP_W_TYPE_SIZE)

Definition at line 39 of file quad.h.

Definition at line 45 of file quad.h.

Definition at line 56 of file quad.h.

Definition at line 58 of file quad.h.

Definition at line 60 of file quad.h.

Definition at line 52 of file quad.h.

Definition at line 54 of file quad.h.

#define _FP_SQRT_MEAT_Q (   R,
  S,
  T,
  X,
  Q 
)    _FP_SQRT_MEAT_4(R,S,T,X,Q)

Definition at line 158 of file quad.h.

Definition at line 46 of file quad.h.

Definition at line 47 of file quad.h.

#define FP_ADD_Q (   R,
  X,
  Y 
)    _FP_ADD(Q,4,R,X,Y)

Definition at line 153 of file quad.h.

#define FP_CMP_EQ_Q (   r,
  X,
  Y 
)    _FP_CMP_EQ(Q,4,r,X,Y)

Definition at line 161 of file quad.h.

#define FP_CMP_Q (   r,
  X,
  Y,
  un 
)    _FP_CMP(Q,4,r,X,Y,un)

Definition at line 160 of file quad.h.

#define FP_CMP_UNORD_Q (   r,
  X,
  Y 
)    _FP_CMP_UNORD(Q,4,r,X,Y)

Definition at line 162 of file quad.h.

#define FP_DECL_Q (   X)    _FP_DECL(4,X)

Definition at line 91 of file quad.h.

#define FP_DIV_Q (   R,
  X,
  Y 
)    _FP_DIV(Q,4,R,X,Y)

Definition at line 156 of file quad.h.

#define FP_FROM_INT_Q (   X,
  r,
  rs,
  rt 
)    _FP_FROM_INT(Q,4,X,r,rs,rt)

Definition at line 165 of file quad.h.

#define FP_ISSIGNAN_Q (   X)    _FP_ISSIGNAN(Q,4,X)

Definition at line 151 of file quad.h.

#define FP_MUL_Q (   R,
  X,
  Y 
)    _FP_MUL(Q,4,R,X,Y)

Definition at line 155 of file quad.h.

#define FP_NEG_Q (   R,
  X 
)    _FP_NEG(Q,4,R,X)

Definition at line 152 of file quad.h.

#define FP_PACK_Q (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_CANONICAL(Q,4,X);            \
    _FP_PACK_RAW_4(Q,val,X);              \
  } while (0)

Definition at line 125 of file quad.h.

#define FP_PACK_QP (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_CANONICAL(Q,4,X);            \
    if (!FP_INHIBIT_RESULTS)              \
      _FP_PACK_RAW_4_P(Q,val,X);   \
  } while (0)

Definition at line 131 of file quad.h.

#define FP_PACK_RAW_Q (   val,
  X 
)    _FP_PACK_RAW_4(Q,val,X)

Definition at line 94 of file quad.h.

#define FP_PACK_RAW_QP (   val,
  X 
)
Value:
do {                               \
    if (!FP_INHIBIT_RESULTS)              \
      _FP_PACK_RAW_4_P(Q,val,X);   \
  } while (0)

Definition at line 95 of file quad.h.

#define FP_PACK_SEMIRAW_Q (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_SEMIRAW(Q,4,X);              \
    _FP_PACK_RAW_4(Q,val,X);              \
  } while (0)

Definition at line 138 of file quad.h.

#define FP_PACK_SEMIRAW_QP (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_SEMIRAW(Q,4,X);              \
    if (!FP_INHIBIT_RESULTS)              \
      _FP_PACK_RAW_4_P(Q,val,X);   \
  } while (0)

Definition at line 144 of file quad.h.

#define FP_SQRT_Q (   R,
  X 
)    _FP_SQRT(Q,4,R,X)

Definition at line 157 of file quad.h.

#define FP_SUB_Q (   R,
  X,
  Y 
)    _FP_SUB(Q,4,R,X,Y)

Definition at line 154 of file quad.h.

#define FP_TO_INT_Q (   r,
  X,
  rsz,
  rsg 
)    _FP_TO_INT(Q,4,r,X,rsz,rsg)

Definition at line 164 of file quad.h.

#define FP_UNPACK_Q (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_4(Q,X,val);            \
    _FP_UNPACK_CANONICAL(Q,4,X);   \
  } while (0)

Definition at line 101 of file quad.h.

#define FP_UNPACK_QP (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_4_P(Q,X,val);   \
    _FP_UNPACK_CANONICAL(Q,4,X);   \
  } while (0)

Definition at line 107 of file quad.h.

#define FP_UNPACK_RAW_Q (   X,
  val 
)    _FP_UNPACK_RAW_4(Q,X,val)

Definition at line 92 of file quad.h.

#define FP_UNPACK_RAW_QP (   X,
  val 
)    _FP_UNPACK_RAW_4_P(Q,X,val)

Definition at line 93 of file quad.h.

#define FP_UNPACK_SEMIRAW_Q (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_4(Q,X,val);            \
    _FP_UNPACK_SEMIRAW(Q,4,X);            \
  } while (0)

Definition at line 113 of file quad.h.

#define FP_UNPACK_SEMIRAW_QP (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_4_P(Q,X,val);   \
    _FP_UNPACK_SEMIRAW(Q,4,X);            \
  } while (0)

Definition at line 119 of file quad.h.


Typedef Documentation

Definition at line 63 of file quad.h.


Variable Documentation

unsigned exp

Definition at line 90 of file quad.h.

unsigned long frac0

Definition at line 94 of file quad.h.

unsigned long frac1

Definition at line 93 of file quad.h.

unsigned long frac2

Definition at line 92 of file quad.h.

unsigned long frac3

Definition at line 91 of file quad.h.

unsigned sign

Definition at line 89 of file quad.h.