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(5, 11, 0));
23 var_dump(gmp_powm(5, "11", gmp_init(0)));
25 var_dump(gmp_powm(array(),$e,$m));
26 var_dump(gmp_powm($n,array(),$m));
27 var_dump(gmp_powm($n,$e,array()));
28 var_dump(gmp_powm(array(),array(),array()));
29 var_dump(gmp_powm(array(),array()));
30 var_dump(gmp_powm(array()));
31 var_dump(gmp_powm());
34 var_dump(gmp_powm(10, $n, 10));
37 var_dump(gmp_powm(10, $n, 10));
52 Warning: gmp_powm(): Modulus may not be zero in %s on line %d
55 Warning: gmp_powm(): Modulus may not be zero 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(): Unable to convert variable to GMP - wrong type in %s on line %d
64 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
67 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
70 Warning: gmp_powm() expects exactly 3 parameters, 2 given in %s on line %d
73 Warning: gmp_powm() expects exactly 3 parameters, 1 given in %s on line %d
76 Warning: gmp_powm() expects exactly 3 parameters, 0 given in %s on line %d
79 Warning: gmp_powm(): Second parameter cannot be less than 0 in %s on line %d