/math/ |
A D | gen-fromfp-tests-inputs | 102 t 0.1 a 0:1 1:1 103 t -0.1 a 0:1 -1:1 104 t 0.25 a 0:1 1:1 106 t 0.499 a 0:1 1:1 126 t 0.5 be 0:1 1:1 148 t 0.75 c 0:1 1:1 150 t 0.9 c 0:1 1:1 172 t 1.25 a 1:1 2:2 174 t 1.5 bo 1:1 2:2 176 t 1.75 c 1:1 2:2 [all …]
|
A D | gen-tgmath-tests.py | 251 for t in types: 252 t = t.real_floating_type(floatn) 255 if t.name == '_Float128' or t.name == '_Float64x': 272 t = t.real_floating_type(floatn) 392 self.add_type_var(t.name, t.condition) 477 if t != 'c' and t != 'g' and t != 'r' and t != 's': 529 for t in args: 530 if t == 'g' or t == 'c': 568 all_conds = [t.condition for t in this_args] 591 if t == 'g' or t == 'c' or t == 'r' or t == 's': [all …]
|
A D | Makefile | 181 type-foreach = $(foreach t,$(types),$(subst F,$(type-$(t)-suffix),$(1))) 187 $(foreach t, $(types), $(type-$(t)-routines))) \ 273 libm-test-support = $(foreach t,$(test-types),libm-test-support-$(t)) 316 libm-tests-base-normal = $(foreach t,$(test-types),test-$(t)) 317 libm-tests-base-narrow = $(foreach t,$(test-type-pairs),test-$(t)) 321 $(t)-$(f))) 324 $(t)-$(f))) 326 $(foreach f,$($(t)-funcs),test-$(t)-$(f))) 331 $(t)-$(f))) 341 $(foreach t,$(test-types),libm-test-support-$(t).c) [all …]
|
A D | tst-CMPLX.c | 13 #define T(f, r, i, t) \ in do_test() argument 24 #define C(f, t) \ in do_test() argument 26 T (f, 0.0f, 0.0f, t); \ in do_test() 27 T (f, 0.0f, 0.0, t); \ in do_test() 28 T (f, 0.0f, 0.0L, t); \ in do_test() 29 T (f, 0.0f, 0.0f, t); \ in do_test() 30 T (f, 0.0, 0.0f, t); \ in do_test() 32 T (f, 0.0, 0.0f, t); \ in do_test() 33 T (f, 0.0, 0.0, t); \ in do_test() 34 T (f, 0.0, 0.0L, t); \ in do_test() [all …]
|
A D | gen-auto-libm-tests.c | 639 switch (t) in generic_arg_ret_type() 1369 for (char *t = p; t < ep; t++) in add_test() local 1370 if (isspace ((unsigned char) *t)) in add_test() 1394 for (char *t = p; t < ep; t++) in add_test() local 1655 mpz_t t; in int_fits_type() local 1656 mpz_init (t); in int_fits_type() 1657 mpz_ui_pow_ui (t, 2, bits - 1); in int_fits_type() 1658 if (mpz_cmp (z, t) >= 0) in int_fits_type() 1660 mpz_neg (t, t); in int_fits_type() 1661 if (mpz_cmp (z, t) < 0) in int_fits_type() [all …]
|
A D | s_ccosh_template.c | 39 const int t = (int) ((M_MAX_EXP - 1) * M_MLIT (M_LN2)); in M_DECL_FUNC() local 52 if (M_FABS (__real__ x) > t) in M_DECL_FUNC() 54 FLOAT exp_t = M_EXP (t); in M_DECL_FUNC() 58 rx -= t; in M_DECL_FUNC() 61 if (rx > t) in M_DECL_FUNC() 63 rx -= t; in M_DECL_FUNC() 67 if (rx > t) in M_DECL_FUNC()
|
A D | s_cexp_template.c | 39 const int t = (int) ((M_MAX_EXP - 1) * M_MLIT (M_LN2)); in M_DECL_FUNC() local 52 if (__real__ x > t) in M_DECL_FUNC() 54 FLOAT exp_t = M_EXP (t); in M_DECL_FUNC() 55 __real__ x -= t; in M_DECL_FUNC() 58 if (__real__ x > t) in M_DECL_FUNC() 60 __real__ x -= t; in M_DECL_FUNC() 65 if (__real__ x > t) in M_DECL_FUNC()
|
A D | s_csinh_template.c | 42 const int t = (int) ((M_MAX_EXP - 1) * M_MLIT (M_LN2)); in M_DECL_FUNC() local 58 if (M_FABS (__real__ x) > t) in M_DECL_FUNC() 60 FLOAT exp_t = M_EXP (t); in M_DECL_FUNC() 64 rx -= t; in M_DECL_FUNC() 67 if (rx > t) in M_DECL_FUNC() 69 rx -= t; in M_DECL_FUNC() 73 if (rx > t) in M_DECL_FUNC()
|
A D | s_csin_template.c | 42 const int t = (int) ((M_MAX_EXP - 1) * M_MLIT (M_LN2)); in M_DECL_FUNC() local 58 if (M_FABS (__imag__ x) > t) in M_DECL_FUNC() 60 FLOAT exp_t = M_EXP (t); in M_DECL_FUNC() 64 ix -= t; in M_DECL_FUNC() 67 if (ix > t) in M_DECL_FUNC() 69 ix -= t; in M_DECL_FUNC() 73 if (ix > t) in M_DECL_FUNC()
|
A D | s_ctan_template.c | 65 const int t = (int) ((M_MAX_EXP - 1) * M_MLIT (M_LN2) / 2); in M_DECL_FUNC() local 80 if (M_FABS (__imag__ x) > t) in M_DECL_FUNC() 86 FLOAT exp_2t = M_EXP (2 * t); in M_DECL_FUNC() 91 __imag__ x -= t; in M_DECL_FUNC() 93 if (__imag__ x > t) in M_DECL_FUNC()
|
A D | s_ctanh_template.c | 65 const int t = (int) ((M_MAX_EXP - 1) * M_MLIT (M_LN2) / 2); in M_DECL_FUNC() local 80 if (M_FABS (__real__ x) > t) in M_DECL_FUNC() 86 FLOAT exp_2t = M_EXP (2 * t); in M_DECL_FUNC() 91 __real__ x -= t; in M_DECL_FUNC() 93 if (__real__ x > t) in M_DECL_FUNC()
|
A D | k_casinh_template.c | 53 FLOAT t = __real__ y; in M_DECL_FUNC() local 55 __imag__ y = t; in M_DECL_FUNC() 193 FLOAT t = __real__ y; in M_DECL_FUNC() local 195 __imag__ y = t; in M_DECL_FUNC()
|
A D | s_clog_template.c | 48 FLOAT t = absx; in M_DECL_FUNC() local 50 absy = t; in M_DECL_FUNC()
|
A D | s_clog10_template.c | 54 FLOAT t = absx; in M_DECL_FUNC() local 56 absy = t; in M_DECL_FUNC()
|
A D | s_catanh_template.c | 108 FLOAT t = absx; in M_DECL_FUNC() local 110 absy = t; in M_DECL_FUNC()
|
A D | s_catan_template.c | 86 FLOAT t = absx; in M_DECL_FUNC() local 88 absy = t; in M_DECL_FUNC()
|
A D | gen-libm-test.py | 337 return ' '.join([apply_lit_token(t, macro) for t in arg.split()])
|
A D | README.libm-test | 75 loader and math library (assumes you didn't install your build). Now
|
A D | libm-test-llround.inc | 177 * hasn't forced an erroneous shift giving us an incorrect result. The odd
|
A D | libm-test-lround.inc | 245 * hasn't forced an erroneous shift giving us an incorrect result. The odd
|