Searched refs:sqrt (Results 1 - 25 of 160) sorted by relevance

1234567

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dbuiltins-47.c4 extern double sqrt (double);
11 if (sqrt (pow (x, 2)) != 1.0)
13 if (sqrt (x*x) != 1.0)
18 /* { dg-final { scan-tree-dump-times "sqrt" 0 "gimple" } } */
H A Dpr36017.c5 extern double sqrt (double);
13 b = sqrt (d * a);
17 b = c > 0 ? 1.0 - sqrt (c) : 1.0;
H A Dpr42078.c5 double sqrt (double x);
10 float y = sqrt (x);
17 float y = sqrt (x);
H A Dbuiltins-6.c14 extern double sqrt (double);
18 return sqrt(x) < -9.0;
23 return sqrt(x) > -9.0;
28 return sqrt(x) < 9.0;
33 return sqrt(x) > 9.0;
38 return sqrt(x) < DBL_MAX;
43 return sqrt(x) > DBL_MAX;
H A Dbuiltins-11.c14 extern double sqrt(double);
20 if (sqrt(x)*sqrt(x) != x)
23 if (sqrt(x)*sqrt(y) != sqrt(x*y))
41 if (x/sqrt(y/z) != x*sqrt(z/y))
H A Dbuiltins-10.c15 extern double sqrt(double);
21 if (sqrt(pow(x,4.0)) != x*x)
24 if (pow(sqrt(x),4.0) != x*x)
33 if (sqrt(pow(x,y)) != pow(fabs(x),y*0.5))
42 if (pow(sqrt(x),y) != pow(x,y*0.5))
H A Dpr43419.c10 double minuszero = sqrt (x);
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/mips/
H A Drsqrt-3.c7 extern double sqrt(double);
12 return 1.0/sqrt(x);
17 return sqrt(1.0/x);
H A Drsqrt-1.c7 extern double sqrt(double);
12 return 1.0/sqrt(x);
H A Drsqrt-2.c7 extern double sqrt(double);
12 return sqrt(1.0/x);
H A Drsqrt-4.c7 extern double sqrt(double);
12 return 1.0 / sqrt (x);
17 return sqrt (1.0 / x);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/
H A D20041213-1.c1 extern double sqrt (double);
15 x = sqrt (foo ());
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dvectorize4-avx.c5 extern double sqrt (double __x);
12 dest[i] = sqrt (tmp_out[i]);
H A Dvectorize4.c7 extern double sqrt (double __x);
13 dest[i] = sqrt (tmp_out[i]);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920617-1.c1 f(){double*xp,y;*xp++=sqrt(y);}
H A D981007-1.c2 extern double sqrt (double);
20 return (x>=0) ? setCom(sqrt(x),0) : setCom(0,sqrt(-x));
/haiku-buildtools/legacy/gcc/libf2c/libF77/
H A Dd_sqrt.c4 double sqrt();
12 return( sqrt(*x) );
H A Dr_sqrt.c4 double sqrt();
12 return( sqrt(*x) );
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/powerpc/
H A Dpr46728-3.c23 if (convert_it (values[i]) != sqrt(values[i]) * sqrt (sqrt (values[i])))
30 /* { dg-final { scan-assembler-times "sqrt" 4 { target powerpc*-*-* } } } */
H A Dpr46728-11.c27 x = sqrt (values[i]);
28 y = sqrt (sqrt (values[i]));
H A Dpr46728-10.c24 if (convert_it (values[i]) != sqrt (sqrt (values[i])))
H A Dpr46728-2.c23 if (convert_it (values[i]) != sqrt (sqrt (values[i])))
H A Dpr46728-7.c42 if (convert_it_1 (values[i]) != sqrt (values[i]) * __builtin_powi (values[i], 1))
44 if (convert_it_2 (values[i]) != sqrt (values[i]) * __builtin_powi (values[i], 2))
46 if (convert_it_3 (values[i]) != sqrt (values[i]) * __builtin_powi (values[i], -1))
48 if (convert_it_4 (values[i]) != sqrt (values[i]) * __builtin_powi (values[i], 10))
56 /* { dg-final { scan-assembler-times "sqrt" 5 { target powerpc*-*-* } } } */
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tree-ssa/
H A Dpr22037.C4 extern double sqrt (double) throw ();
11 d = sqrt(e);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/lto/
H A D20110201-1_0.c19 /* We provide a dummy sqrt to avoid link failures on targets that do not
20 expand sqrt inline. Note that we do not link against libm in order
23 sqrt (double x) function

Completed in 206 milliseconds

1234567