|
ReactOS 0.4.16-dev-1946-g52006dd
|


Go to the source code of this file.
Classes | |
| struct | _TESTENTRY_DBL |
| struct | _TESTENTRY_FLT |
| struct | _TESTENTRY_DBL_INT |
| struct | _TESTENTRY_FLT_INT |
| struct | _PRECISE_VALUE |
| struct | _TESTENTRY_DBL_APPROX |
Macros | |
| #define | _USE_MATH_DEFINES |
| #define | __ATTRIBUTE_SSE2__ |
| #define | ok_eq_dbl_exact_(file, line, func, ullx, z, ullexp) |
| #define | ok_eq_dbl_exact(func, ullx, z, ullexp) ok_eq_dbl_exact_(__FILE__, __LINE__, func, ullx, z, ullexp) |
| #define | ok_eq_flt_exact_(file, line, func, ux, z, uexp) |
| #define | ok_eq_flt_exact(func, ux, z, uexp) ok_eq_flt_exact_(__FILE__, __LINE__, func, ux, z, uexp) |
Typedefs | |
| typedef struct _TESTENTRY_DBL | TESTENTRY_DBL |
| typedef struct _TESTENTRY_FLT | TESTENTRY_FLT |
| typedef struct _TESTENTRY_DBL_INT | TESTENTRY_DBL_INT |
| typedef struct _TESTENTRY_FLT_INT | TESTENTRY_FLT_INT |
| typedef struct _PRECISE_VALUE | PRECISE_VALUE |
| typedef struct _TESTENTRY_DBL_APPROX | TESTENTRY_DBL_APPROX |
Functions | |
| static __inline double | u64_to_dbl (UINT64 x) |
| static __inline UINT64 | dbl_to_u64 (double x) |
| static __inline float | u32_to_flt (UINT32 x) |
| static __inline UINT32 | flt_to_u32 (float x) |
| static int64_t | double_to_int64_lex (double d) |
| static int | float_to_int_lex (float f) |
| static __inline int64_t | ulp_error_dbl (double expected, double result) |
| static __inline int | ulp_error_flt (float expected, float result) |
| static __inline int64_t | ulp_error_precise (PRECISE_VALUE *expected, double result) |
| #define __ATTRIBUTE_SSE2__ |
Definition at line 19 of file math_helpers.h.
| #define _USE_MATH_DEFINES |
Definition at line 10 of file math_helpers.h.
| #define ok_eq_dbl_exact | ( | func, | |
| ullx, | |||
| z, | |||
| ullexp | |||
| ) | ok_eq_dbl_exact_(__FILE__, __LINE__, func, ullx, z, ullexp) |
Definition at line 184 of file math_helpers.h.
Definition at line 176 of file math_helpers.h.
| #define ok_eq_flt_exact | ( | func, | |
| ux, | |||
| z, | |||
| uexp | |||
| ) | ok_eq_flt_exact_(__FILE__, __LINE__, func, ux, z, uexp) |
Definition at line 194 of file math_helpers.h.
Definition at line 186 of file math_helpers.h.
| typedef struct _PRECISE_VALUE PRECISE_VALUE |
| typedef struct _TESTENTRY_DBL TESTENTRY_DBL |
| typedef struct _TESTENTRY_FLT TESTENTRY_FLT |
Definition at line 33 of file math_helpers.h.
Definition at line 92 of file math_helpers.h.
Referenced by ulp_error_dbl().
Definition at line 49 of file math_helpers.h.
Definition at line 41 of file math_helpers.h.
Referenced by Test__finitef(), Test__isnanf(), Test_ceilf(), Test_fabsf(), Test_floorf(), and Test_roundf().
Definition at line 25 of file math_helpers.h.
Referenced by Test__finite(), Test__isnan(), Test_acos_exact(), Test_acosf_exact(), Test_asin_exact(), Test_asinf_exact(), Test_atan_exact(), Test_atanf_exact(), Test_ceil(), Test_cos_exact(), Test_cosf_exact(), Test_exp_exact(), Test_expf_exact(), Test_fabs(), Test_floor(), Test_log10_exact(), Test_log10f_exact(), Test_log_exact(), Test_logf_exact(), Test_round(), Test_sin_exact(), Test_sinf_exact(), Test_sqrt_exact(), Test_sqrtf_exact(), Test_tan_exact(), and Test_tanf_exact().
Definition at line 122 of file math_helpers.h.
Referenced by ulp_error_precise().
Definition at line 138 of file math_helpers.h.
Referenced by Test_acosf_approx(), Test_asinf_approx(), Test_atanf_approx(), Test_cosf_approx(), Test_expf_approx(), Test_log10f_approx(), Test_logf_approx(), Test_sinf_approx(), Test_sqrtf_approx(), and Test_tanf_approx().
|
static |
Definition at line 154 of file math_helpers.h.
Referenced by Test_acos_approx(), Test_asin_approx(), Test_atan_approx(), Test_cos_approx(), Test_exp_approx(), Test_log10_approx(), Test_log_approx(), Test_sin_approx(), Test_sqrt_approx(), and Test_tan_approx().