Back to index

glibc  2.9
Classes | Defines
math_ldbl.h File Reference

Go to the source code of this file.

Classes

union  ieee_long_double_shape_type
union  ieee_long_double_shape_type
struct  ieee_long_double_shape_type.parts
struct  ieee_long_double_shape_type.parts

Defines

#define GET_LDOUBLE_WORDS(exp, ix0, ix1, d)
#define SET_LDOUBLE_WORDS(d, exp, ix0, ix1)
#define GET_LDOUBLE_MSW(v, d)
#define SET_LDOUBLE_MSW(d, v)
#define GET_LDOUBLE_EXP(exp, d)
#define SET_LDOUBLE_EXP(d, exp)

Class Documentation

union ieee_long_double_shape_type

Definition at line 10 of file math_ldbl.h.

Class Members
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
long double value
union ieee_long_double_shape_type

Definition at line 10 of file math_ldbl.h.

Class Members
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
struct ieee_long_double_shape_type parts
long double value
struct ieee_long_double_shape_type.parts

Definition at line 13 of file math_ldbl.h.

Class Members
unsigned int empty0:32
unsigned int empty1:16
u_int32_t lsw
u_int32_t msw
int sign_exponent:16
struct ieee_long_double_shape_type.parts

Definition at line 30 of file math_ldbl.h.

Class Members
unsigned int empty0:32
unsigned int empty1:16
u_int32_t lsw
u_int32_t msw
int sign_exponent:16

Define Documentation

#define GET_LDOUBLE_EXP (   exp,
  d 
)
Value:
do {                                                    \
  ieee_long_double_shape_type ge_u;                            \
  ge_u.value = (d);                                     \
  (exp) = ge_u.parts.sign_exponent;                            \
} while (0)

Definition at line 85 of file math_ldbl.h.

#define GET_LDOUBLE_MSW (   v,
  d 
)
Value:
do {                                                    \
  ieee_long_double_shape_type sh_u;                            \
  sh_u.value = (d);                                     \
  (v) = sh_u.parts.msw;                                        \
} while (0)

Definition at line 66 of file math_ldbl.h.

#define GET_LDOUBLE_WORDS (   exp,
  ix0,
  ix1,
  d 
)
Value:
do {                                                    \
  ieee_long_double_shape_type ew_u;                            \
  ew_u.value = (d);                                     \
  (exp) = ew_u.parts.sign_exponent;                            \
  (ix0) = ew_u.parts.msw;                               \
  (ix1) = ew_u.parts.lsw;                               \
} while (0)

Definition at line 44 of file math_ldbl.h.

#define SET_LDOUBLE_EXP (   d,
  exp 
)
Value:
do {                                                    \
  ieee_long_double_shape_type se_u;                            \
  se_u.value = (d);                                     \
  se_u.parts.sign_exponent = (exp);                            \
  (d) = se_u.value;                                     \
} while (0)

Definition at line 94 of file math_ldbl.h.

#define SET_LDOUBLE_MSW (   d,
 
)
Value:
do {                                                    \
  ieee_long_double_shape_type sh_u;                            \
  sh_u.value = (d);                                     \
  sh_u.parts.msw = (v);                                        \
  (d) = sh_u.value;                                     \
} while (0)

Definition at line 75 of file math_ldbl.h.

#define SET_LDOUBLE_WORDS (   d,
  exp,
  ix0,
  ix1 
)
Value:
do {                                                    \
  ieee_long_double_shape_type iw_u;                            \
  iw_u.parts.sign_exponent = (exp);                            \
  iw_u.parts.msw = (ix0);                               \
  iw_u.parts.lsw = (ix1);                               \
  (d) = iw_u.value;                                     \
} while (0)

Definition at line 55 of file math_ldbl.h.