Lines Matching refs:gmp_pow
2 gmp_pow() basic tests
8 var_dump(gmp_strval(gmp_pow(2,10)));
9 var_dump(gmp_strval(gmp_pow(-2,10)));
10 var_dump(gmp_strval(gmp_pow(-2,11)));
11 var_dump(gmp_strval(gmp_pow("2",10)));
12 var_dump(gmp_strval(gmp_pow("2",0)));
13 var_dump(gmp_strval(gmp_pow("2",-1)));
14 var_dump(gmp_strval(gmp_pow("-2",10)));
15 var_dump(gmp_strval(gmp_pow(20,10)));
16 var_dump(gmp_strval(gmp_pow(50,10)));
17 var_dump(gmp_strval(gmp_pow(50,-5)));
20 var_dump(gmp_strval(gmp_pow($n,10)));
22 var_dump(gmp_strval(gmp_pow($n,10)));
24 var_dump(gmp_pow(2,10,1));
25 var_dump(gmp_pow(2));
26 var_dump(gmp_pow());
27 var_dump(gmp_pow(array(), array()));
28 var_dump(gmp_pow(2,array()));
29 var_dump(gmp_pow(array(),10));
40 Warning: gmp_pow(): Negative exponent not supported in %s on line %d
46 Warning: gmp_pow(): Negative exponent not supported in %s on line %d
51 Warning: gmp_pow() expects exactly 2 parameters, 3 given in %s on line %d
54 Warning: gmp_pow() expects exactly 2 parameters, 1 given in %s on line %d
57 Warning: gmp_pow() expects exactly 2 parameters, 0 given in %s on line %d
60 Warning: gmp_pow() expects parameter 2 to be integer, array given in %s on line %d
63 Warning: gmp_pow() expects parameter 2 to be integer, array given in %s on line %d
66 Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on line %d