/math/ |
A D | gen-auto-libm-tests.c | 330 mpfr_t f; member 703 for (fp_format f = fp_first_format; f < fp_num_formats; f++) in init_fp_formats() local 712 mpfr_init2 (fp_formats[f].max, fp_formats[f].mant_dig); in init_fp_formats() 728 mpfr_init2 (fp_formats[f].min, fp_formats[f].mant_dig); in init_fp_formats() 736 mpfr_init2 (fp_formats[f].subnorm_max, fp_formats[f].mant_dig); in init_fp_formats() 1155 for (fp_format f = fp_first_format; f < fp_num_formats; f++) in handle_input_arg() local 1487 inputs[1].value.f, inputs[2].value.f, in calc_generic_results() 1817 for (fp_format f = fp_first_format; f < fp_num_formats; f++) in output_for_one_input_case() local 1882 inputs[i].value.f, f); in output_for_one_input_case() 1917 generic_outputs[i].value.f, f); in output_for_one_input_case() [all …]
|
A D | test-misc.c | 148 v1.f = f = FLT_MIN; in do_test() 160 v2.f = f = nextafterf (f, FLT_MIN); in do_test() 199 v2.f = f = nextafterf (f, -FLT_MIN); in do_test() 252 v1.f = f = 0.0625; in do_test() 254 v2.f = f = nextafterf (f, 1.0); in do_test() 275 v1.f = f = 0.0625; in do_test() 277 v2.f = f = nextafterf (f, 0.0); in do_test() 300 v2.f = f = nextafterf (f, -1.0); in do_test() 323 v2.f = f = nextafterf (f, 0.0); in do_test() 344 v1.f = f = 0.0f; in do_test() [all …]
|
A D | gen-libm-test.py | 140 for line in f: 179 for f in k_dict: 180 funcs.add(f) 191 fn_data = ['%s: %d' % (f, d[fn][f]) 203 f.write(out_text) 210 fn_ulps = [str(ulps_dict[fn][f]) for f in ALL_FLOATS] 235 f = f[1:] 251 f.write(header_text) 272 for line in f: 574 for line in f: [all …]
|
A D | Makefile | 137 type-float-suffix := f 309 libm-test-c-auto = $(foreach f,$(libm-test-funcs-auto),libm-test-$(f).c) 310 libm-test-c-noauto = $(foreach f,$(libm-test-funcs-noauto),libm-test-$(f).c) 321 $(t)-$(f))) 324 $(t)-$(f))) 326 $(foreach f,$($(t)-funcs),test-$(t)-$(f))) 331 $(t)-$(f))) 333 test-$(1)-$(f) test-i$(1)-$(f)) \ 376 $(foreach f,$(libm-narrow-fns),$(t)$(f))) 571 $(foreach f,$($(o)-funcs),\ [all …]
|
A D | tst-CMPLX.c | 13 #define T(f, r, i, t) \ in do_test() argument 15 s = sizeof (f (r, i)); \ in do_test() 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() 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 | tgmath.h | 344 ? Fct##f (Val) \ 386 Fct##f (Val1, Val2))) 403 Fct##f (Val1, Val2))) 425 Fct##f (Val1, Val2, Val3))) 454 Fct##f (Val1, Val2, Val3))) 461 ? Fct##f (Val1, Val2, Val3) \ 492 + _Complex_I)) Cfct##f (Val) \ 513 Fct##f (Val) \ 515 Cfct##f (Val)) \ 570 Fct##f (Val1, Val2) \ [all …]
|
A D | math.h | 326 # define __MATH_PRECNAME(name,r) name##f##r 565 # define __MATHCALL_NAME(name) f ## name 573 # define __MATHCALL_NAME(name) f ## name ## l 575 # define __MATHCALL_REDIR_NAME(name) f ## name 576 # define __MATHCALL_REDIR_NAME2(name) f ## name 880 (sizeof (TG_ARG) == sizeof (float) ? FUNC ## f ARGS : FUNC ARGS) 884 # define __MATH_TG_F32(FUNC, ARGS) _Float32: FUNC ## f ARGS, 899 float: FUNC ## f ARGS, \ 912 FUNC ## f ARGS, \ 924 ? FUNC ## f ARGS \
|
A D | test-tgmath-int.c | 47 float f; in do_test() local 53 CHECK_RET_CONST_DOUBLE (pow (i, f), "pow (i, f)"); in do_test() 55 CHECK_RET_CONST_DOUBLE (pow (f, i), "pow (f, i)"); in do_test() 58 CHECK_RET_CONST_DOUBLE (fma (f, i, i), "fma (f, i, i)"); in do_test() 59 CHECK_RET_CONST_DOUBLE (fma (i, f, i), "fma (i, f, i)"); in do_test() 60 CHECK_RET_CONST_DOUBLE (fma (i, i, f), "fma (i, i, f)"); in do_test()
|
A D | k_casinh_template.c | 98 FLOAT f = rx2 * (2 + rx2 + 2 * ix * ix); in M_DECL_FUNC() local 99 FLOAT d = M_SQRT (ix2m1 * ix2m1 + f); in M_DECL_FUNC() 101 FLOAT dm = f / dp; in M_DECL_FUNC() 154 FLOAT f = rx2 * (2 + rx2 + 2 * ix * ix); in M_DECL_FUNC() local 155 FLOAT d = M_SQRT (onemix2 * onemix2 + f); in M_DECL_FUNC() 157 FLOAT dm = f / dp; in M_DECL_FUNC()
|
A D | libm-test-support.c | 259 print_float (FLOAT f) in print_float() argument 262 if (issignaling (f)) in print_float() 264 else if (isnan (f)) in print_float() 269 fmt_ftostr (fstrn, FSTR_MAX, TYPE_DECIMAL_DIG - 1, "e", f); in print_float() 270 fmt_ftostr (fstrx, FSTR_MAX, TYPE_HEX_DIG - 1, "a", f); in print_float()
|
A D | s_catan_template.c | 113 FLOAT r2 = 0, num, f; in M_DECL_FUNC() local 124 f = num / den; in M_DECL_FUNC() 125 if (f < M_LIT (0.5)) in M_DECL_FUNC() 126 __imag__ res = M_LIT (0.25) * M_LOG (f); in M_DECL_FUNC()
|
A D | test-float.h | 19 #define FUNC(function) function ## f 26 #define LIT(x) (x ## f) 32 #define FUNC_NARROW_PREFIX f
|
A D | s_catanh_template.c | 92 FLOAT f = num / den; in M_DECL_FUNC() local 93 if (f < M_LIT (0.5)) in M_DECL_FUNC() 94 __real__ res = M_LIT (0.25) * M_LOG (f); in M_DECL_FUNC()
|
A D | basic-test.c | 189 TEST_FUNC (float_test, float, f, FLT_EPSILON, HUGE_VALF) in TEST_FUNC() argument 192 TEST_CONVERT (convert_sfdf_test, double, float, f) in TEST_FUNC() 196 TEST_CONVERT (convert_sftf_test, long double, float, f) in TEST_FUNC()
|
A D | test-math-cxx11.cc | 46 float_t f = 1.0f; in do_test() local 47 (void) f; in do_test()
|
A D | test-nearbyint-except-2.c | 47 TEST_FUNC (float_test, float, f) in TEST_FUNC() argument
|
A D | test-narrow-macros.c | 26 #define f test macro macro
|
A D | math-svid-compat.h | 52 #define AS_FLOAT_CONSTANT_1(x) x##f
|
A D | test-nearbyint-except.c | 70 TEST_FUNC (float_test, float, f) in TEST_FUNC() argument
|
A D | test-snan.c | 123 TEST_FUNC (float_test, float, f) in TEST_FUNC() argument
|
A D | complex.h | 116 #define __MATH_PRECNAME(name) name##f
|
A D | README.libm-test | 114 - "f" for FLOAT
|
A D | test-tgmath2.c | 464 #define F(name) name##f
|
A D | Versions | 14 # f*
|
A D | test-tgmath.c | 191 #define F(name) name##f
|