base/math/mathP.h File Reference

Include dependency graph for mathP.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  ieee_double_shape_type
union  ieee_double_shape_type
union  ieee_float_shape_type

Defines

#define EXTRACT_WORDS(ix0, ix1, d)
#define GET_HIGH_WORD(i, d)
#define GET_LOW_WORD(i, d)
#define INSERT_WORDS(d, ix0, ix1)
#define SET_HIGH_WORD(d, v)
#define SET_LOW_WORD(d, v)
#define GET_FLOAT_WORD(i, d)
#define SET_FLOAT_WORD(d, i)

Functions

double __ieee754_sqrt __P ((double))
double __ieee754_atan2 __P ((double, double))
double __ieee754_lgamma_r __P ((double, int *))
double __ieee754_jn __P ((int, double))
int __ieee754_rem_pio2 __P ((double, double *))
double __kernel_standard __P ((double, double, int))
int __kernel_rem_pio2 __P ((double *, double *, int, int, int, const int *))
float __ieee754_sqrtf __P ((float))
float __ieee754_atan2f __P ((float, float))
float __ieee754_lgammaf_r __P ((float, int *))
float __ieee754_jnf __P ((int, float))
int __ieee754_rem_pio2f __P ((float, float *))
float __kernel_sinf __P ((float, float, int))
int __kernel_rem_pio2f __P ((float *, float *, int, int, int, const int *))


Define Documentation

#define EXTRACT_WORDS ( ix0,
ix1,
 ) 

Value:

do {                                \
  ieee_double_shape_type ew_u;                  \
  ew_u.value = (d);                     \
  (ix0) = ew_u.parts.msw;                   \
  (ix1) = ew_u.parts.lsw;                   \
} while (0)

Definition at line 72 of file mathP.h.

Referenced by __ieee754_acosh(), __ieee754_atan2(), __ieee754_atanh(), __ieee754_fmod(), __ieee754_jn(), __ieee754_lgamma_r(), __ieee754_log(), __ieee754_log10(), __ieee754_pow(), __ieee754_remainder(), __ieee754_sqrt(), __ieee754_y0(), __ieee754_y1(), __ieee754_yn(), ceil(), floor(), frexp(), logb(), modf(), nextafter(), rint(), and scalbn().

#define GET_FLOAT_WORD ( i,
 ) 

Value:

do {                                \
  ieee_float_shape_type gf_u;                   \
  gf_u.value = (d);                     \
  (i) = gf_u.word;                      \
} while (0)

Definition at line 139 of file mathP.h.

#define GET_HIGH_WORD ( i,
 ) 

Value:

do {                                \
  ieee_double_shape_type gh_u;                  \
  gh_u.value = (d);                     \
  (i) = gh_u.parts.msw;                     \
} while (0)

Definition at line 82 of file mathP.h.

Referenced by __ieee754_acos(), __ieee754_asin(), __ieee754_atan2(), __ieee754_cosh(), __ieee754_exp(), __ieee754_hypot(), __ieee754_j0(), __ieee754_j1(), __ieee754_log(), __ieee754_log10(), __ieee754_pow(), __ieee754_rem_pio2(), __ieee754_remainder(), __ieee754_sinh(), __ieee754_yn(), __kernel_cos(), __kernel_sin(), __kernel_tan(), asinh(), atan(), cbrt(), copysign(), cos(), erf(), erfc(), expm1(), fabs(), finite(), frexp(), ilogb(), log1p(), modf(), pone(), pzero(), qone(), qzero(), rint(), scalbn(), sin(), sin_pi(), tan(), and tanh().

#define GET_LOW_WORD ( i,
 ) 

Value:

do {                                \
  ieee_double_shape_type gl_u;                  \
  gl_u.value = (d);                     \
  (i) = gl_u.parts.lsw;                     \
} while (0)

Definition at line 91 of file mathP.h.

Referenced by __ieee754_acos(), __ieee754_asin(), __ieee754_cosh(), __ieee754_exp(), __ieee754_hypot(), __ieee754_rem_pio2(), __ieee754_sinh(), __kernel_tan(), atan(), cbrt(), expm1(), ilogb(), and sin_pi().

#define INSERT_WORDS ( d,
ix0,
ix1   ) 

Value:

do {                                \
  ieee_double_shape_type iw_u;                  \
  iw_u.parts.msw = (ix0);                   \
  iw_u.parts.lsw = (ix1);                   \
  (d) = iw_u.value;                     \
} while (0)

Definition at line 100 of file mathP.h.

Referenced by __ieee754_fmod(), __ieee754_sqrt(), __kernel_cos(), cbrt(), ceil(), floor(), modf(), nextafter(), and rint().

#define SET_FLOAT_WORD ( d,
 ) 

Value:

do {                                \
  ieee_float_shape_type sf_u;                   \
  sf_u.word = (i);                      \
  (d) = sf_u.value;                     \
} while (0)

Definition at line 148 of file mathP.h.

#define SET_HIGH_WORD ( d,
 ) 

Value:

do {                                \
  ieee_double_shape_type sh_u;                  \
  sh_u.value = (d);                     \
  sh_u.parts.msw = (v);                     \
  (d) = sh_u.value;                     \
} while (0)

Definition at line 110 of file mathP.h.

Referenced by __ieee754_atan2(), __ieee754_atanh(), __ieee754_exp(), __ieee754_hypot(), __ieee754_log(), __ieee754_log10(), __ieee754_pow(), __ieee754_rem_pio2(), __ieee754_remainder(), __kernel_standard(), cbrt(), copysign(), expm1(), fabs(), frexp(), log1p(), rint(), and scalbn().

#define SET_LOW_WORD ( d,
 ) 

Value:

do {                                \
  ieee_double_shape_type sl_u;                  \
  sl_u.value = (d);                     \
  sl_u.parts.lsw = (v);                     \
  (d) = sl_u.value;                     \
} while (0)

Definition at line 120 of file mathP.h.

Referenced by __ieee754_acos(), __ieee754_asin(), __ieee754_pow(), __ieee754_rem_pio2(), __kernel_tan(), erf(), and erfc().


Function Documentation

int __kernel_rem_pio2f __P ( (float *, float *, int, int, int, const int *)   ) 

float __kernel_tanf __P ( (float, float, int)   ) 

int __ieee754_rem_pio2f __P ( (float, float *)   ) 

float __ieee754_ynf __P ( (int, float)   ) 

float __ieee754_gammaf_r __P ( (float, int *)   ) 

float __kernel_cosf __P ( (float, float)   ) 

float __ieee754_y1f __P ( (float)   ) 

int __kernel_rem_pio2 __P ( (double *, double *, int, int, int, const int *)   ) 

double __kernel_tan __P ( (double, double, int)   ) 

int __ieee754_rem_pio2 __P ( (double, double *)   ) 

double __ieee754_yn __P ( (int, double)   ) 

double __ieee754_gamma_r __P ( (double, int *)   ) 

double __kernel_cos __P ( (double, double)   ) 

double __ieee754_y1 __P ( (double)   ) 


Generated on Tue Feb 2 17:47:52 2010 for RTAI API by  doxygen 1.4.7