Dataflow Runtime API  4.0.1.0
Classes | Macros | Functions
math_private_openbsd.h File Reference

Classes

union  ieee_quad_shape_type
 
union  ieee_extended_shape_type
 

Macros

#define GET_LDOUBLE_WORDS64(ix0, ix1, d)
 
#define SET_LDOUBLE_WORDS64(d, ix0, ix1)
 
#define GET_LDOUBLE_MSW64(v, d)
 
#define SET_LDOUBLE_MSW64(d, v)
 
#define GET_LDOUBLE_LSW64(v, d)
 
#define GET_LDOUBLE_WORDS(se, ix0, ix1, d)
 
#define SET_LDOUBLE_WORDS(d, se, ix0, ix1)
 
#define GET_LDOUBLE_MSW(v, d)
 
#define SET_LDOUBLE_MSW(d, v)
 
#define GET_LDOUBLE_EXP(se, d)
 
#define SET_LDOUBLE_EXP(d, se)
 

Functions

void __scan_nan (uint32_t *__words, int __num_words, const char *__s)
 
double __exp__D (double, double)
 
struct Double __log__D (double)
 
long double __p1evll (long double, void *, int)
 
long double __polevll (long double, void *, int)
 

Macro Definition Documentation

◆ GET_LDOUBLE_EXP

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

◆ GET_LDOUBLE_LSW64

#define GET_LDOUBLE_LSW64 (   v,
 
)
Value:
do { \
ieee_quad_shape_type sh_u; \
sh_u.value = (d); \
(v) = sh_u.parts64.lsw; \
} while (0)

◆ GET_LDOUBLE_MSW

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

◆ GET_LDOUBLE_MSW64

#define GET_LDOUBLE_MSW64 (   v,
 
)
Value:
do { \
ieee_quad_shape_type sh_u; \
sh_u.value = (d); \
(v) = sh_u.parts64.msw; \
} while (0)

◆ GET_LDOUBLE_WORDS

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

◆ GET_LDOUBLE_WORDS64

#define GET_LDOUBLE_WORDS64 (   ix0,
  ix1,
 
)
Value:
do { \
ieee_quad_shape_type qw_u; \
qw_u.value = (d); \
(ix0) = qw_u.parts64.msw; \
(ix1) = qw_u.parts64.lsw; \
} while (0)

◆ SET_LDOUBLE_EXP

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

◆ SET_LDOUBLE_MSW

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

◆ SET_LDOUBLE_MSW64

#define SET_LDOUBLE_MSW64 (   d,
 
)
Value:
do { \
ieee_quad_shape_type sh_u; \
sh_u.value = (d); \
sh_u.parts64.msw = (v); \
(d) = sh_u.value; \
} while (0)

◆ SET_LDOUBLE_WORDS

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

◆ SET_LDOUBLE_WORDS64

#define SET_LDOUBLE_WORDS64 (   d,
  ix0,
  ix1 
)
Value:
do { \
ieee_quad_shape_type qw_u; \
qw_u.parts64.msw = (ix0); \
qw_u.parts64.lsw = (ix1); \
(d) = qw_u.value; \
} while (0)

Function Documentation

◆ __exp__D()

double __exp__D ( double  ,
double   
)

◆ __log__D()

struct Double __log__D ( double  )

◆ __p1evll()

long double __p1evll ( long double  ,
void *  ,
int   
)

◆ __polevll()

long double __polevll ( long double  ,
void *  ,
int   
)

◆ __scan_nan()

void __scan_nan ( uint32_t __words,
int  __num_words,
const char *  __s 
)