Searched refs:pow (Results 1 - 25 of 147) sorted by relevance

123456

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dloverload3.C5 extern "C" double pow (double, double);
6 inline double pow (double d, int e) { return pow (d, (double) e); } function
10 pow (1.0, 1);
11 pow (1.0, 1.0);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20030624-1.c3 double pow(double, double);
5 double foo(double x) { return pow(x,261); }
H A Dpr46832.c1 double pow(double x, double y);
3 int j = (int) ((pow(x, 2)) < 0.0 ? (pow(x, 2))-0.5 : (pow(x, 2))+0.5);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Darg5.C3 extern double pow(double,int*);
7 extern double pow(double, double);
12 if (pow (2.0, 3.0) != 8.0)
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dbuiltins-14.c13 extern double pow(double,double);
18 if (pow (2.0, 3.0) != 8.0)
21 if (pow (2.0, -3.0) != 0.125)
H A Dpr46728-6.c11 result = pow (-0.0, 3.0);
12 result = pow (26.47, -2.0);
13 result = pow (0.0, 0.0);
14 result = pow (22.3, 1.0);
15 result = pow (33.2, -1.0);
21 /* { dg-final { scan-assembler-not {pow\M} } } */
H A Dbuiltins-27.c13 extern double pow(double,double);
17 if (pow(x,2.0) != x*x)
20 if (x*pow(x,2.0) != pow(x,3.0))
23 if (pow(x,2.0)*x != pow(x,3.0))
26 if (pow(x,3.0) != x*x*x)
29 if (pow(x,2.0)*x != x*x*x)
32 if (x*pow(x,2.0) != x*x*x)
35 if (pow(
[all...]
H A Dbuiltins-10.c16 extern double pow(double,double);
21 if (sqrt(pow(x,4.0)) != x*x)
24 if (pow(sqrt(x),4.0) != x*x)
27 if (pow(pow(x,4.0),0.25) != x)
33 if (sqrt(pow(x,y)) != pow(fabs(x),y*0.5))
36 if (log(pow(x,y)) != y*log(x))
39 if (pow(exp(x),y) != exp(x*y))
42 if (pow(sqr
[all...]
H A Dbuiltins-24.c12 extern double pow(double,double);
17 return pow (x, 6);
22 return pow (x, -4);
H A Dbuiltins-8.c12 extern double pow(double, double);
18 if (pow(x,-1.0) != 1.0/x)
21 if (pow(x,2.0) != x*x)
24 if (pow(x,-2.0) != 1.0/(x*x))
27 if (pow(x,0.5) != sqrt(x))
31 if (pow(x,1.0/3.0) != cbrt(x))
H A Dbuiltins-47.c5 extern double pow (double, double);
11 if (sqrt (pow (x, 2)) != 1.0)
19 /* { dg-final { scan-tree-dump-times "pow" 0 "gimple" } } */
H A Dc99-tgmath-4.c8 /* Test that invoking type-generic pow on complex float invokes cpowf. */
13 return pow(x, y);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/
H A Dpow_cmath.cc21 using std::pow;
31 check_ret_type<float>(std::pow(x, 2));
32 check_ret_type<double>(std::tr1::pow(x, 2));
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/lto/
H A Dpr56168_1.c4 pow (double x, double y) { return 0.0; } function
H A Dpr56168_0.c4 extern double pow(double, double);
10 double d2 = pow(d1, 1.0 / 3.0);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/
H A Dpowi.cc31 VERIFY( pow(T(1.0), 0) == T(1.0) );
32 VERIFY( pow(T(2.0), 0) == T(1.0) );
33 VERIFY( pow(T(-1.0), 0) == T(1.0) );
34 VERIFY( pow(T(-4.0), 0) == T(1.0) );
36 VERIFY( pow(T(1.0), 1) == T(1.0) );
37 VERIFY( pow(T(2.0), 1) == T(2.0) );
38 VERIFY( pow(T(-1.0), 1) == T(-1.0) );
39 VERIFY( pow(T(-4.0), 1) == T(-4.0) );
41 VERIFY( pow(T(1.0), -1) == T(1.0) / T(1.0) );
42 VERIFY( pow(
[all...]
H A D37582.cc34 return std::pow (x, 2.0);
/haiku-buildtools/legacy/gcc/libf2c/libF77/
H A Dpow_dd.c4 double pow();
12 return(pow(*ap, *bp) );
H A Dpow_di.c9 double pow, x; local
13 pow = 1;
27 pow *= x;
34 return(pow);
H A Dpow_hh.c9 shortint pow, x, n; local
23 for(pow = 1; ; )
26 pow *= x;
32 return(pow);
H A Dpow_ii.c9 integer pow, x, n; local
23 for(pow = 1; ; )
26 pow *= x;
32 return(pow);
H A Dpow_qq.c9 longint pow, x, n; local
23 for(pow = 1; ; )
26 pow *= x;
32 return(pow);
H A Dpow_ri.c9 double pow, x; local
13 pow = 1;
27 pow *= x;
34 return(pow);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/26_numerics/complex/
H A Dpow.cc13 VERIFY( pow(z, 1.0/3.0) == 0.0 );
/haiku-buildtools/gcc/fixincludes/tests/base/iso/
H A Dmath_iso.h14 inline long double pow(long double __X, int __Y) { return function

Completed in 115 milliseconds

123456