Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 25) sorted by relevance

/math/
A Dgen-auto-libm-tests.c330 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 Dtest-misc.c148 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 Dgen-libm-test.py140 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 DMakefile137 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 Dtst-CMPLX.c13 #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 Dtgmath.h344 ? 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 Dmath.h326 # 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 Dtest-tgmath-int.c47 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 Dk_casinh_template.c98 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 Dlibm-test-support.c259 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 Ds_catan_template.c113 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 Dtest-float.h19 #define FUNC(function) function ## f
26 #define LIT(x) (x ## f)
32 #define FUNC_NARROW_PREFIX f
A Ds_catanh_template.c92 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 Dbasic-test.c189 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 Dtest-math-cxx11.cc46 float_t f = 1.0f; in do_test() local
47 (void) f; in do_test()
A Dtest-nearbyint-except-2.c47 TEST_FUNC (float_test, float, f) in TEST_FUNC() argument
A Dtest-narrow-macros.c26 #define f test macro macro
A Dmath-svid-compat.h52 #define AS_FLOAT_CONSTANT_1(x) x##f
A Dtest-nearbyint-except.c70 TEST_FUNC (float_test, float, f) in TEST_FUNC() argument
A Dtest-snan.c123 TEST_FUNC (float_test, float, f) in TEST_FUNC() argument
A Dcomplex.h116 #define __MATH_PRECNAME(name) name##f
A DREADME.libm-test114 - "f" for FLOAT
A Dtest-tgmath2.c464 #define F(name) name##f
A DVersions14 # f*
A Dtest-tgmath.c191 #define F(name) name##f

Completed in 41 milliseconds