Back to index

glibc  2.9
Classes | Defines | Typedefs | Variables
double.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  _FP_UNION_D

Defines

#define _FP_FRACTBITS_D   (2 * _FP_W_TYPE_SIZE)
#define _FP_FRACBITS_D   53
#define _FP_FRACXBITS_D   (_FP_FRACTBITS_D - _FP_FRACBITS_D)
#define _FP_WFRACBITS_D   (_FP_WORKBITS + _FP_FRACBITS_D)
#define _FP_WFRACXBITS_D   (_FP_FRACTBITS_D - _FP_WFRACBITS_D)
#define _FP_EXPBITS_D   11
#define _FP_EXPBIAS_D   1023
#define _FP_EXPMAX_D   2047
#define _FP_QNANBIT_D   ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-2) % _FP_W_TYPE_SIZE)
#define _FP_QNANBIT_SH_D   ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-2+_FP_WORKBITS) % _FP_W_TYPE_SIZE)
#define _FP_IMPLBIT_D   ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-1) % _FP_W_TYPE_SIZE)
#define _FP_IMPLBIT_SH_D   ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-1+_FP_WORKBITS) % _FP_W_TYPE_SIZE)
#define _FP_OVERFLOW_D   ((_FP_W_TYPE)1 << _FP_WFRACBITS_D % _FP_W_TYPE_SIZE)
#define FP_DECL_D(X)   _FP_DECL(2,X)
#define FP_UNPACK_RAW_D(X, val)   _FP_UNPACK_RAW_2(D,X,val)
#define FP_UNPACK_RAW_DP(X, val)   _FP_UNPACK_RAW_2_P(D,X,val)
#define FP_PACK_RAW_D(val, X)   _FP_PACK_RAW_2(D,val,X)
#define FP_PACK_RAW_DP(val, X)
#define FP_UNPACK_D(X, val)
#define FP_UNPACK_DP(X, val)
#define FP_UNPACK_SEMIRAW_D(X, val)
#define FP_UNPACK_SEMIRAW_DP(X, val)
#define FP_PACK_D(val, X)
#define FP_PACK_DP(val, X)
#define FP_PACK_SEMIRAW_D(val, X)
#define FP_PACK_SEMIRAW_DP(val, X)
#define FP_ISSIGNAN_D(X)   _FP_ISSIGNAN(D,2,X)
#define FP_NEG_D(R, X)   _FP_NEG(D,2,R,X)
#define FP_ADD_D(R, X, Y)   _FP_ADD(D,2,R,X,Y)
#define FP_SUB_D(R, X, Y)   _FP_SUB(D,2,R,X,Y)
#define FP_MUL_D(R, X, Y)   _FP_MUL(D,2,R,X,Y)
#define FP_DIV_D(R, X, Y)   _FP_DIV(D,2,R,X,Y)
#define FP_SQRT_D(R, X)   _FP_SQRT(D,2,R,X)
#define _FP_SQRT_MEAT_D(R, S, T, X, Q)   _FP_SQRT_MEAT_2(R,S,T,X,Q)
#define FP_CMP_D(r, X, Y, un)   _FP_CMP(D,2,r,X,Y,un)
#define FP_CMP_EQ_D(r, X, Y)   _FP_CMP_EQ(D,2,r,X,Y)
#define FP_CMP_UNORD_D(r, X, Y)   _FP_CMP_UNORD(D,2,r,X,Y)
#define FP_TO_INT_D(r, X, rsz, rsg)   _FP_TO_INT(D,2,r,X,rsz,rsg)
#define FP_FROM_INT_D(X, r, rs, rt)   _FP_FROM_INT(D,2,X,r,rs,rt)
#define _FP_FRAC_HIGH_D(X)   _FP_FRAC_HIGH_2(X)
#define _FP_FRAC_HIGH_RAW_D(X)   _FP_FRAC_HIGH_2(X)

Typedefs

typedef float DFtype __attribute__ ((mode(DF)))

Variables

unsigned sign
unsigned exp
unsigned frac1
unsigned frac0

Define Documentation

#define _FP_EXPBIAS_D   1023

Definition at line 49 of file double.h.

#define _FP_EXPBITS_D   11

Definition at line 48 of file double.h.

#define _FP_EXPMAX_D   2047

Definition at line 50 of file double.h.

#define _FP_FRAC_HIGH_D (   X)    _FP_FRAC_HIGH_2(X)

Definition at line 161 of file double.h.

#define _FP_FRAC_HIGH_RAW_D (   X)    _FP_FRAC_HIGH_2(X)

Definition at line 162 of file double.h.

#define _FP_FRACBITS_D   53

Definition at line 44 of file double.h.

#define _FP_FRACTBITS_D   (2 * _FP_W_TYPE_SIZE)

Definition at line 39 of file double.h.

Definition at line 45 of file double.h.

Definition at line 56 of file double.h.

Definition at line 58 of file double.h.

Definition at line 60 of file double.h.

Definition at line 52 of file double.h.

Definition at line 54 of file double.h.

#define _FP_SQRT_MEAT_D (   R,
  S,
  T,
  X,
  Q 
)    _FP_SQRT_MEAT_2(R,S,T,X,Q)

Definition at line 152 of file double.h.

Definition at line 46 of file double.h.

Definition at line 47 of file double.h.

#define FP_ADD_D (   R,
  X,
  Y 
)    _FP_ADD(D,2,R,X,Y)

Definition at line 147 of file double.h.

#define FP_CMP_D (   r,
  X,
  Y,
  un 
)    _FP_CMP(D,2,r,X,Y,un)

Definition at line 154 of file double.h.

#define FP_CMP_EQ_D (   r,
  X,
  Y 
)    _FP_CMP_EQ(D,2,r,X,Y)

Definition at line 155 of file double.h.

#define FP_CMP_UNORD_D (   r,
  X,
  Y 
)    _FP_CMP_UNORD(D,2,r,X,Y)

Definition at line 156 of file double.h.

#define FP_DECL_D (   X)    _FP_DECL(2,X)

Definition at line 85 of file double.h.

#define FP_DIV_D (   R,
  X,
  Y 
)    _FP_DIV(D,2,R,X,Y)

Definition at line 150 of file double.h.

#define FP_FROM_INT_D (   X,
  r,
  rs,
  rt 
)    _FP_FROM_INT(D,2,X,r,rs,rt)

Definition at line 159 of file double.h.

#define FP_ISSIGNAN_D (   X)    _FP_ISSIGNAN(D,2,X)

Definition at line 145 of file double.h.

#define FP_MUL_D (   R,
  X,
  Y 
)    _FP_MUL(D,2,R,X,Y)

Definition at line 149 of file double.h.

#define FP_NEG_D (   R,
  X 
)    _FP_NEG(D,2,R,X)

Definition at line 146 of file double.h.

#define FP_PACK_D (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_CANONICAL(D,2,X);            \
    _FP_PACK_RAW_2(D,val,X);              \
  } while (0)

Definition at line 119 of file double.h.

#define FP_PACK_DP (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_CANONICAL(D,2,X);            \
    if (!FP_INHIBIT_RESULTS)              \
      _FP_PACK_RAW_2_P(D,val,X);   \
  } while (0)

Definition at line 125 of file double.h.

#define FP_PACK_RAW_D (   val,
  X 
)    _FP_PACK_RAW_2(D,val,X)

Definition at line 88 of file double.h.

#define FP_PACK_RAW_DP (   val,
  X 
)
Value:
do {                               \
    if (!FP_INHIBIT_RESULTS)              \
      _FP_PACK_RAW_2_P(D,val,X);   \
  } while (0)

Definition at line 89 of file double.h.

#define FP_PACK_SEMIRAW_D (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_SEMIRAW(D,2,X);              \
    _FP_PACK_RAW_2(D,val,X);              \
  } while (0)

Definition at line 132 of file double.h.

#define FP_PACK_SEMIRAW_DP (   val,
  X 
)
Value:
do {                               \
    _FP_PACK_SEMIRAW(D,2,X);              \
    if (!FP_INHIBIT_RESULTS)              \
      _FP_PACK_RAW_2_P(D,val,X);   \
  } while (0)

Definition at line 138 of file double.h.

#define FP_SQRT_D (   R,
  X 
)    _FP_SQRT(D,2,R,X)

Definition at line 151 of file double.h.

#define FP_SUB_D (   R,
  X,
  Y 
)    _FP_SUB(D,2,R,X,Y)

Definition at line 148 of file double.h.

#define FP_TO_INT_D (   r,
  X,
  rsz,
  rsg 
)    _FP_TO_INT(D,2,r,X,rsz,rsg)

Definition at line 158 of file double.h.

#define FP_UNPACK_D (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_2(D,X,val);            \
    _FP_UNPACK_CANONICAL(D,2,X);   \
  } while (0)

Definition at line 95 of file double.h.

#define FP_UNPACK_DP (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_2_P(D,X,val);   \
    _FP_UNPACK_CANONICAL(D,2,X);   \
  } while (0)

Definition at line 101 of file double.h.

#define FP_UNPACK_RAW_D (   X,
  val 
)    _FP_UNPACK_RAW_2(D,X,val)

Definition at line 86 of file double.h.

#define FP_UNPACK_RAW_DP (   X,
  val 
)    _FP_UNPACK_RAW_2_P(D,X,val)

Definition at line 87 of file double.h.

#define FP_UNPACK_SEMIRAW_D (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_2(D,X,val);            \
    _FP_UNPACK_SEMIRAW(D,2,X);            \
  } while (0)

Definition at line 107 of file double.h.

#define FP_UNPACK_SEMIRAW_DP (   X,
  val 
)
Value:
do {                               \
    _FP_UNPACK_RAW_2_P(D,X,val);   \
    _FP_UNPACK_SEMIRAW(D,2,X);            \
  } while (0)

Definition at line 113 of file double.h.


Typedef Documentation

typedef float DFtype __attribute__((mode(DF)))

Definition at line 63 of file double.h.


Variable Documentation

unsigned exp

Definition at line 85 of file double.h.

unsigned frac0

Definition at line 87 of file double.h.

unsigned frac1

Definition at line 86 of file double.h.

unsigned sign

Definition at line 84 of file double.h.