Home
last modified time | relevance | path

Searched refs:func (Results 1 – 9 of 9) sorted by relevance

/math/
A Dtest-tgmath-ret.c41 #define CHECK_RET_CONST_TYPE(func, rettype, arg, name, ...) \ argument
42 if (sizeof (func (arg, ## __VA_ARGS__)) != sizeof (rettype)) \
45 #define CHECK_RET_CONST_FLOAT(func, rettype, ...) \ argument
46 CHECK_RET_CONST_TYPE (func, rettype, fx, float, ## __VA_ARGS__)
47 #define CHECK_RET_CONST_DOUBLE(func, rettype, ...) \ argument
49 #define CHECK_RET_CONST_LDOUBLE(func, rettype, ...) \ argument
52 #define CHECK_RET_CONST(func, rettype, ...) \ argument
54 check_return_ ##func (void) \
56 CHECK_RET_CONST_FLOAT (func, rettype, ## __VA_ARGS__) \
57 CHECK_RET_CONST_DOUBLE (func, rettype, ## __VA_ARGS__) \
[all …]
A Dmath.h553 #define __MATHCALL_NARROW_NORMAL(func, nargs) \ argument
558 #define __MATHCALL_NARROW(func, redir, nargs) \ argument
559 __MATHCALL_NARROW_NORMAL (func, nargs)
578 # define __MATHCALL_NARROW(func, redir, nargs) \ argument
579 __MATHCALL_NARROW_REDIR (func, redir, nargs)
584 # define __MATHCALL_NARROW(func, redir, nargs) \ argument
585 __MATHCALL_NARROW_REDIR (func, redir, nargs)
597 __MATHCALL_NARROW_NORMAL (func, nargs)
608 __MATHCALL_NARROW_REDIR (func, redir, nargs)
614 __MATHCALL_NARROW_REDIR (func, redir, nargs)
[all …]
A Dgen-fromfp-tests.py44 func = sys.argv[1] variable
48 if func == 'fromfpx' or func == 'ufromfpx':
52 unsigned = func.startswith('ufromfp')
97 (test_macro, func, val, rm, ws, invalid_res))
100 (test_macro, func, val, rm, ws, val, exact_res))
138 (test_macro, func, val, rm, ws, invalid_res))
141 (test_macro, func, val, rm, ws, res, inexact_res))
A Dgen-auto-libm-tests.c462 } func; member
985 size_t (*func) (mpfr_t, mpfr_t, fp_format); member
1164 = special_real_inputs[i].func (extra_values[0], in handle_input_arg()
1461 inexact = calc->func.mpfr_f_f (outputs[0].value.f, inputs[0].value.f, in calc_generic_results()
1473 inexact = calc->func.mpfr_ff_f (outputs[0].value.f, inputs[0].value.f, in calc_generic_results()
1500 inexact = calc->func.mpfr_f_f1 (outputs[0].value.f, &i, in calc_generic_results()
1515 inexact = calc->func.mpfr_if_f (outputs[0].value.f, l, in calc_generic_results()
1528 int comb_ternary = calc->func.mpfr_f_11 (outputs[0].value.f, in calc_generic_results()
1549 inexact = calc->func.mpc_c_f (outputs[0].value.f, ci1, mode_mpfr); in calc_generic_results()
1567 mpc_ternary = calc->func.mpc_c_c (co, ci1, mode_mpc); in calc_generic_results()
[all …]
A Dtest-tgmath-int.c33 #define CHECK_RET_CONST_TYPE(func, rettype, name) \ argument
34 if (sizeof (func) != sizeof (rettype)) \
35 our_error ("Return size of " #name " is " #func" wrong");
37 #define CHECK_RET_CONST_FLOAT(func, name) \ argument
38 CHECK_RET_CONST_TYPE (func, float, name)
40 #define CHECK_RET_CONST_DOUBLE(func, name) \ argument
41 CHECK_RET_CONST_TYPE (func, double, name)
A DREADME.libm-test24 The main files are "libm-test-<func>.inc". They are independent of
28 "auto-libm-test-out-<func>", are preprocessed by the Python script
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
53 The "auto-libm-test-out-<func>" files contain sets of test cases to
101 Adding tests to libm-test-<func>.inc
A Dgen-tgmath-tests.py419 func = macro
425 complex_func = func
426 func = None
431 complex_func = 'c%s' % func
484 if func == None and not t.complex:
498 dummy_func_name = complex_func if t.complex else func
572 any_complex = func == None
576 func_name = complex_func if any_complex else func
A DMakefile474 func=$${gcall%F*}$${gcall#*F}; \
481 echo "#include <$${func}_template.c>"; \
496 func=$${type_func#*-}; \
502 echo "#include <libm-test-$$func.c>"; \
508 func=$${type_pair_func##*-}; \
517 echo "#include <libm-test-narrow-$$func.c>"; \
523 func=$${type_func##*-}; \
524 func_args=$$(grep ALL_RM_TEST libm-test-$$func.inc \
528 echo "WRAPPER_DECL_$$func_args (WRAPPER_NAME (FUNC ($$func)))"; \
529 echo "#include <libm-test-$$func.c>"; \
A Dgen-libm-test.py601 for func in all_functions:
606 if fns_complex[func]:
607 ulp_real = p_ulps.real[func][flt]
608 ulp_imag = p_ulps.imag[func][flt]
612 ulp = p_ulps.normal[func][flt]
616 % (func, ALL_FLOATS_SUFFIX[flt],

Completed in 18 milliseconds