Home
last modified time | relevance | path

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

1234567

/math/
A Dtest-tgmath.c258 a = pow (pow (x, a), pow (c, b)); in F()
260 a = hypot (hypot (x, b), hypot (c, a)); in F()
281 a = nextdown (nextdown (a)); in F()
283 a = nextup (nextup (a)); in F()
285 a = scalb (scalb (x, a), (TYPE) (6)); in F()
289 a = fdim (fdim (x, a), fdim (c, b)); in F()
291 a = fmin (fmin (x, a), fmin (c, b)); in F()
293 a = fminmag (fminmag (x, a), fminmag (c, b)); in F()
295 a = fminimum (fminimum (x, a), fminimum (c, b)); in F()
297 a = fminimum_num (fminimum_num (x, a), fminimum_num (c, b)); in F()
[all …]
A Dgen-fromfp-tests-inputs102 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
105 t -0.25 a 0:1 -1:1
106 t 0.499 a 0:1 1:1
107 t -0.499 a 0:1 -1:1
172 t 1.25 a 1:1 2:2
178 t 2.25 a 2:2 3:2
184 t 3.25 a 3:2 4:3
190 t 4.25 a 4:3 5:3
[all …]
A DREADME.libm-test4 The libm-test math test suite tests a number of function points of
5 math functions in the GNU C library. The following sections contain a
29 "gen-libm-test.py" to expand the templates and produce a set of test
42 driver is compiled into a single executable test program with the
45 As mentioned above, the "gen-libm-test.py" script looks for a file
87 "gen-libm-test.py" has an option to generate a pretty-printed and
107 the test macro for a function with input of type FLOAT (FLOAT is
116 - "a" for ARG_FLOAT, the argument type for narrowing functions.
128 through a pointer rather than directly.
129 - "F" for the address of a FLOAT (only as input parameter)
[all …]
A Dtst-CMPLX2.c40 comparef (float a, float b) in comparef() argument
46 compare (double a, double b) in compare() argument
52 comparel (long double a, long double b) in comparel() argument
60 comparef (__real__ a, r); in comparecf()
61 comparef (__imag__ a, i); in comparecf()
67 compare (__real__ a, r); in comparec()
68 compare (__imag__ a, i); in comparec()
74 comparel (__real__ a, r); in comparecl()
75 comparel (__imag__ a, i); in comparecl()
80 TYPE a = A; \
[all …]
A Ddivtc3.c36 x = ((a * ratio) + b) / denom; in __divtc3()
37 y = ((b * ratio) - a) / denom; in __divtc3()
43 x = ((b * ratio) + a) / denom; in __divtc3()
44 y = (b - (a * ratio)) / denom; in __divtc3()
53 x = copysignl (INFINITY, c) * a; in __divtc3()
56 else if ((isinf (a) || isinf (b)) in __divtc3()
59 a = copysignl (isinf (a) ? 1 : 0, a); in __divtc3()
61 x = INFINITY * (a * c + b * d); in __divtc3()
62 y = INFINITY * (b * c - a * d); in __divtc3()
69 x = 0.0 * (a * c + b * d); in __divtc3()
[all …]
A Dmultc3.c24 __multc3 (long double a, long double b, long double c, long double d) in __multc3() argument
28 ac = a * c; in __multc3()
30 ad = a * d; in __multc3()
40 if (isinf (a) || isinf (b)) in __multc3()
44 a = copysignl (isinf (a) ? 1 : 0, a); in __multc3()
56 if (isnan (a)) a = copysignl (0, a); in __multc3()
65 if (isnan (a)) a = copysignl (0, a); in __multc3()
73 x = INFINITY * (a * c - b * d); in __multc3()
74 y = INFINITY * (a * d + b * c); in __multc3()
A Dmul_split.h53 fast_two_sum (double *hi, double *lo, double a, double b) in fast_two_sum() argument
57 *hi = a + b; in fast_two_sum()
58 e = *hi - a; /* exact */ in fast_two_sum()
85 double a, b; in div_split() local
88 mul_split (&a, &b, *hi, y); in div_split()
90 a = x - a; /* huge cancellation */ in div_split()
91 a = a - b; in div_split()
93 *lo = a / y; in div_split()
A Dgen-tgmath-tests.py287 return list_product_initial([a + [b] for a in initial for b in lists[0]],
501 for a in args:
502 if a == 'c':
504 elif a == 'g':
506 elif a == 'r' or a == 's':
509 arg_name = a
A Dauto-libm-test-in4851 # a narrower format of width a and a wider format of width w, take
4858 # a = 24, w = 53.
4860 # a = 24, w = 64.
4864 # a = 53, w = 64.
6682 # (2^a + 1)(2^b + 1)/2^(a+b), where a is the width of the narrower
6686 # a = 24, b = 54
6688 # a = 24, b = 65
6690 # a = 24, b = 114
6692 # a = 53, b = 65
6694 # a = 53, b = 114
[all …]
A DMakefile208 install-lib-ldscripts := libm.so libm.a
209 install-others = $(inst_libdir)/libm.so $(inst_libdir)/libm.a
221 $(inst_libdir)/libm-$(version).a: $(objpfx)libm.a \
225 $(inst_libdir)/libm.a: $(common-objpfx)format.lds \
226 $(inst_libdir)/libm-$(version).a \
227 $(objpfx)../mathvec/libmvec.a \
779 $(addprefix $(objpfx),$(tests-static)): $(objpfx)libm.a
A Dgen-libm-test.py346 for a in all_args_res:
347 if 'snan_value' in a:
544 test_args = [a.strip() for a in test_args]
A Dtest-nearbyint-except-2.c32 volatile FLOAT a, b __attribute__ ((unused)); \
33 a = 1.5; \
35 b = nearbyint ## SUFFIX (a); \
A Dtest-signgam-main.c36 volatile TYPE a, b, c __attribute__ ((unused)); \
37 a = 0.5; \
40 c = FUNC (a); \
A Dtest-nearbyint-except.c40 volatile FLOAT a, b __attribute__ ((unused)); \
41 a = 1.0; \
44 b = nearbyint ## SUFFIX (a); \
A Dlibm-test-driver.c1070 #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 Dtest-nan-const.c26 float a = nanf (buf); in do_test() local
29 return memcmp (&a, &b, sizeof (float)) == 0; in do_test()
A Dtest-math-vector.h25 #define CONCAT(a, b) CNCT (a, b) argument
A Dlibm-test-support.h72 #define __CONCATX(a,b) __CONCAT(a,b) argument
A Dgen-fromfp-tests.py107 a, a_width = data[4].split(':') variable
118 res, width = a, a_width
A Dlibm-test-ceil.inc15 You should have received a copy of the GNU Lesser General Public
144 /* Check cases where first double is a exact integer higher than 2^52 and
A Dlibm-test-trunc.inc15 You should have received a copy of the GNU Lesser General Public
161 /* Check cases where first double is a exact integer higher than 2^52 and
A Dlibm-test-round.inc15 You should have received a copy of the GNU Lesser General Public
165 /* Check cases where first double is a exact integer higher than 2^52 and
A Dlibm-test-llround.inc15 You should have received a copy of the GNU Lesser General Public
176 * lround to make sure that a guard bit set during the lround operation
A Dlibm-test-lround.inc15 You should have received a copy of the GNU Lesser General Public
244 * lround to make sure that a guard bit set during the lround operation
A Dlibm-test-rint.inc15 You should have received a copy of the GNU Lesser General Public
151 /* Check cases where first double is a exact integer higher than

Completed in 36 milliseconds

1234567