/math/ |
A D | Makefile | 312 libm-test-narrow-$(f).c) 394 $(objpfx)test-tgmath3-$(m).c): $(objpfx)test-tgmath3-%.c: \ 493 $(foreach t,$(libm-tests-normal),$(objpfx)$(t).c): $(objpfx)test-%.c: 505 $(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c): $(objpfx)test-%.c: 520 $(foreach t,$(libm-tests-vector),$(objpfx)$(t).c): $(objpfx)test-%.c: 533 $(objpfx)libm-test-support-$(t).c): $(objpfx)libm-test-support-%.c: 616 $(objpfx)m_%$o: s_%.c $(before-compile); $$(compile-command.c) 623 $(objpfx)m_%$o: $(objpfx)s_%.c $(before-compile); $$(compile-command.c) 716 CFLAGS-w_j0.c += -fno-builtin-j0l 717 CFLAGS-w_j1.c += -fno-builtin-j1l [all …]
|
A D | gen-fromfp-tests-inputs | 146 t 0.501 c 0:1 1:1 147 t -0.501 c 0:1 -1:1 148 t 0.75 c 0:1 1:1 149 t -0.75 c 0:1 -1:1 150 t 0.9 c 0:1 1:1 151 t -0.9 c 0:1 -1:1 176 t 1.75 c 1:1 2:2 182 t 2.75 c 2:2 3:2 188 t 3.75 c 3:2 4:3 194 t 4.75 c 4:3 5:3 [all …]
|
A D | test-tgmath.c | 225 TYPE a, b, c = 1.0; in F() local 240 c = atan2 (atan2 (a, c), atan2 (b, x)); in F() 258 a = pow (pow (x, a), pow (c, b)); in F() 265 b = fmod (fmod (a, b), fmod (c, x)); in F() 268 c = roundeven (roundeven (a)); in F() 272 k = llrint (b) + llround (c); in F() 307 c = fma (i, b, i); in F() 308 a = pow (i, c); in F() 310 x = a + b + c + i + j + k + m + um; in F() 338 c = cimag (cimag (z)); in F() [all …]
|
A D | divtc3.c | 32 if (fabsl (c) < fabsl (d)) in __divtc3() 34 ratio = c / d; in __divtc3() 35 denom = (c * ratio) + d; in __divtc3() 41 ratio = d / c; in __divtc3() 42 denom = (d * ratio) + c; in __divtc3() 53 x = copysignl (INFINITY, c) * a; in __divtc3() 61 x = INFINITY * (a * c + b * d); in __divtc3() 62 y = INFINITY * (b * c - a * d); in __divtc3() 67 c = copysignl (isinf (c) ? 1 : 0, c); in __divtc3() 69 x = 0.0 * (a * c + b * d); in __divtc3() [all …]
|
A D | multc3.c | 24 __multc3 (long double a, long double b, long double c, long double d) in __multc3() argument 28 ac = a * c; in __multc3() 31 bc = b * c; in __multc3() 46 if (isnan (c)) c = copysignl (0, c); in __multc3() 50 if (isinf (c) || isinf (d)) in __multc3() 54 c = copysignl (isinf (c) ? 1 : 0, c); in __multc3() 67 if (isnan (c)) c = copysignl (0, c); in __multc3() 73 x = INFINITY * (a * c - b * d); in __multc3() 74 y = INFINITY * (a * d + b * c); in __multc3()
|
A D | atest-sincos.c | 64 mp2 s[4], c[4]; in sincosx_mpn() local 115 add_shift_mulh (c[0], x, si, NULL, 0, 0); /* c0 = h * s; */ in sincosx_mpn() 116 add_shift_mulh (s[1], x, co, c[0], 1, 1); /* s1 = h * (c - c0/2); */ in sincosx_mpn() 117 add_shift_mulh (c[1], x, si, s[0], 1, 0); /* c1 = h * (s + s0/2); */ in sincosx_mpn() 118 add_shift_mulh (s[2], x, co, c[1], 1, 1); /* s2 = h * (c - c1/2); */ in sincosx_mpn() 119 add_shift_mulh (c[2], x, si, s[1], 1, 0); /* c2 = h * (s + s1/2); */ in sincosx_mpn() 120 add_shift_mulh (s[3], x, co, c[2], 0, 1); /* s3 = h * (c - c2); */ in sincosx_mpn() 121 add_shift_mulh (c[3], x, si, s[2], 0, 0); /* c3 = h * (s + s2); */ in sincosx_mpn() 123 summ (co, co, c, 1); /* c = c - (c0+2*c1+2*c2+c3)/6; */ in sincosx_mpn()
|
A D | gen-libm-test.py | 435 for c in conds: 436 if not c.startswith('arg_fmt('): 437 c = c.replace('-', '_') 438 conds_c.append('TEST_COND_' + c) 545 num_args = sum([DESCR_NUM_ARGS[c] for c in descr_args]) 546 num_res = sum([DESCR_NUM_RES[c] for c in descr_res])
|
A D | README.libm-test | 32 processing are "libm-test-<func>.c" and a file "libm-test-ulps.h" with 36 The test drivers "test-double-<func>.c", "test-float-<func>.c", and 37 "test-ldouble-<func>.c", generated by the Makefile, test the normal 41 of macros just before including the generic "libm-test.c" file. Each 57 the comments in gen-auto-libm-tests.c for details about the content 119 - "c" for complex. This parameter needs two values, first the real,
|
A D | gen-auto-libm-tests.c | 1295 char c = *ep; in handle_input_flag() local 1310 *ep = c; in handle_input_flag() 1311 if (c == 0) in handle_input_flag() 1373 char c = *ep; in add_test() local 1378 *ep = c; in add_test() 1398 char c = *ep; in add_test() local 1401 *ep = c; in add_test()
|
A D | test-signgam-main.c | 36 volatile TYPE a, b, c __attribute__ ((unused)); \ 40 c = FUNC (a); \ 49 c = FUNC (b); \
|
A D | libm-test-driver.c | 1070 #define STR_CONCAT(a, b, c) __STRING (a##b##c) argument 1071 #define STR_CON3(a, b, c) STR_CONCAT (a, b, c) argument
|
A D | gen-tgmath-tests.py | 323 conds = [c for c in conds if c != '1']
|
A D | s_cpow_template.c | 23 M_DECL_FUNC (__cpow) (CFLOAT x, CFLOAT c) in M_DECL_FUNC() 25 return M_SUF (__cexp) (c * M_SUF (__clog) (x)); in M_DECL_FUNC()
|
A D | test-nearbyint-except.c | 56 volatile FLOAT c __attribute__ ((unused)); \ 58 c = nearbyint ## SUFFIX (snan); \
|
A D | test-tgmath-int.c | 27 our_error (const char *c) in our_error() argument 29 puts (c); in our_error()
|
A D | test-tgmath-ret.c | 33 our_error (const char *c) in our_error() argument 35 puts (c); in our_error()
|
A D | libm-test-cpow.inc | 19 #include "libm-test-driver.c" 42 * mode:c
|
A D | libm-test-erfc.inc | 19 #include "libm-test-driver.c" 45 * mode:c
|
A D | libm-test-cbrt.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|
A D | libm-test-cos.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|
A D | libm-test-cosh.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|
A D | libm-test-erf.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|
A D | libm-test-exp.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|
A D | libm-test-exp10.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|
A D | libm-test-exp2.inc | 19 #include "libm-test-driver.c" 47 * mode:c
|