/math/ |
A D | math.h | 880 (sizeof (TG_ARG) == sizeof (float) ? FUNC ## f ARGS : FUNC ARGS) 884 # define __MATH_TG_F32(FUNC, ARGS) _Float32: FUNC ## f ARGS, argument 890 # define __MATH_TG_F64X(FUNC, ARGS) _Float64x: FUNC ## l ARGS, argument 892 # define __MATH_TG_F64X(FUNC, ARGS) _Float64x: FUNC ## f128 ARGS, argument 912 FUNC ## f ARGS, \ 915 FUNC ARGS, \ 918 FUNC ## l ARGS, \ 919 FUNC ## f128 ARGS))) 924 ? FUNC ## f ARGS \ 926 ? FUNC ARGS \ [all …]
|
A D | libm-test-support.c | 597 ulp = FUNC(ldexp) (1.0, MIN_EXP - MANT_DIG); in ulp() 601 ulp = FUNC(ldexp) (1.0, FUNC(ilogb) (value) - MANT_DIG + 1); in ulp() 636 && (FUNC (getpayload) (&computed) in check_float_internal() 637 != FUNC (getpayload) (&expected))) in check_float_internal() 656 && (FUNC (getpayload) (&computed) in check_float_internal() 657 != FUNC (getpayload) (&expected))) in check_float_internal() 683 diff = FUNC(fabs) (computed - expected); in check_float_internal() 1094 value = FUNC(nextafter) (0, 1); in check_ulp() 1105 value = FUNC(nextafter) (10, 20); in check_ulp() 1114 value = FUNC(nextafter) (value, 20); in check_ulp() [all …]
|
A D | libm-test-driver.c | 100 #define plus_infty FUNC (__builtin_inf) () 101 #define minus_infty -(FUNC (__builtin_inf) ()) 102 #define qnan_value_pl(S) FUNC (__builtin_nan) (S) 104 #define snan_value_pl(S) FUNC (__builtin_nans) (S) 1096 START (FUNC,, EXACT); \ 1097 LOOP_MACRO (FUNC, ARRAY, , ## __VA_ARGS__); \ 1103 START (FUNC, _downward, EXACT); \ 1104 LOOP_MACRO (FUNC, ARRAY, FE_DOWNWARD, ## __VA_ARGS__); \ 1110 START (FUNC, _towardzero, EXACT); \ 1117 START (FUNC, _upward, EXACT); \ [all …]
|
A D | test-nan-payload.c | 26 #define WRAP_NAN(FUNC, STR) \ argument 27 ({ const char *volatile wns = (STR); FUNC (wns); }) 28 #define WRAP_STRTO(FUNC, STR) \ argument 29 ({ const char *volatile wss = (STR); FUNC (wss, NULL); }) 74 #define RUN_TESTS(TYPE, SFUNC, FUNC, MANT_DIG) \ argument 77 TYPE n123 = WRAP_NAN (FUNC, "123"); \ 81 TYPE n456 = WRAP_NAN (FUNC, "456"); \ 85 TYPE n123x = WRAP_NAN (FUNC, "123)"); \ 87 TYPE nemp = WRAP_NAN (FUNC, ""); \
|
A D | lgamma-compat.h | 49 # define LGFUNC(FUNC) FUNC ## _compat argument 51 # define LGFUNC(FUNC) FUNC argument 60 #define CALL_LGAMMA(TYPE, FUNC, ARG) \ argument 66 lgamma_tmp = FUNC ((ARG), &local_signgam); \ 71 lgamma_tmp = FUNC ((ARG), &__signgam); \
|
A D | test-signgam-main.c | 33 #define RUN_TESTS(FUNC, TYPE) \ argument 40 c = FUNC (a); \ 42 puts ("PASS: " #FUNC " (0.5) setting signgam"); \ 45 puts ("FAIL: " #FUNC " (0.5) setting signgam"); \ 49 c = FUNC (b); \ 51 puts ("PASS: " #FUNC " (-0.5) setting signgam"); \ 54 puts ("FAIL: " #FUNC " (-0.5) setting signgam"); \
|
A D | gen-auto-libm-tests.c | 505 #define FUNC(NAME, ARGS, RET, EXACT, COMPLEX_FN, EXACT_ARGS, CALC) \ macro 511 FUNC (NAME, ARGS1 (type_fp), RET1 (type_fp), EXACT, false, false, \ 514 FUNC (NAME, ARGS2 (type_fp, type_fp), RET1 (type_fp), EXACT, false, \ 517 FUNC (NAME, ARGS2 (type_int, type_fp), RET1 (type_fp), EXACT, false, \ 520 FUNC (NAME, ARGS2 (type_fp, type_fp), RET1 (type_fp), EXACT, true, \ 523 FUNC (NAME, ARGS2 (type_fp, type_fp), RET2 (type_fp, type_fp), EXACT, \ 553 FUNC ("cpow", ARGS4 (type_fp, type_fp, type_fp, type_fp), 568 FUNC ("fma", ARGS3 (type_fp, type_fp, type_fp), RET1 (type_fp), 574 FUNC ("lgamma", ARGS1 (type_fp), RET2 (type_fp, type_int), false, false, 583 FUNC ("sincos", ARGS1 (type_fp), RET2 (type_fp, type_fp), false, false,
|
A D | test-nan-overflow.c | 44 #define NAN_TEST(TYPE, FUNC) \ in do_test() argument 48 volatile TYPE v = FUNC (p); \ in do_test() 50 puts ("PASS: " #FUNC); \ in do_test() 53 puts ("FAIL: " #FUNC); \ in do_test()
|
A D | test-math-scalar.h | 19 #define FUNC_TEST(function) FUNC (function)
|
A D | test-double.h | 19 #define FUNC(function) function macro
|
A D | test-float.h | 19 #define FUNC(function) function ## f macro
|
A D | test-float32.h | 26 #define FUNC(function) function ## f32 macro
|
A D | test-float32x.h | 26 #define FUNC(function) function ## f32x macro
|
A D | test-float64.h | 26 #define FUNC(function) function ## f64 macro
|
A D | test-float128.h | 26 #define FUNC(function) function ## f128 macro
|
A D | test-float64x.h | 26 #define FUNC(function) function ## f64x macro
|
A D | test-ldouble.h | 21 #define FUNC(function) function##l macro
|
A D | test-math-vector.h | 28 #define FUNC_TEST(function) WRAPPER_NAME (FUNC (function))
|