Lines Matching refs:gmp_powm
2 gmp_powm() basic tests
8 var_dump(gmp_strval(gmp_powm(0,1,10)));
9 var_dump(gmp_strval(gmp_powm(5,1,10)));
10 var_dump(gmp_strval(gmp_powm(-5,1,-10)));
11 var_dump(gmp_strval(gmp_powm(-5,1,10)));
12 var_dump(gmp_strval(gmp_powm(-5,11,10)));
13 var_dump(gmp_strval(gmp_powm("77",3,1000)));
16 var_dump(gmp_strval(gmp_powm($n,3,1000)));
18 var_dump(gmp_strval(gmp_powm($n,$e,1000)));
20 var_dump(gmp_strval(gmp_powm($n,$e,$m)));
22 var_dump(gmp_powm(array(),$e,$m));
23 var_dump(gmp_powm($n,array(),$m));
24 var_dump(gmp_powm($n,$e,array()));
25 var_dump(gmp_powm(array(),array(),array()));
26 var_dump(gmp_powm(array(),array()));
27 var_dump(gmp_powm(array()));
28 var_dump(gmp_powm());
31 var_dump(gmp_powm(10, $n, 10));
34 var_dump(gmp_powm(10, $n, 10));
49 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
52 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
55 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
58 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
61 Warning: gmp_powm() expects exactly 3 parameters, 2 given in %s on line %d
64 Warning: gmp_powm() expects exactly 3 parameters, 1 given in %s on line %d
67 Warning: gmp_powm() expects exactly 3 parameters, 0 given in %s on line %d
70 Warning: gmp_powm(): Second parameter cannot be less than 0 in %s on line %d