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)));
23 var_dump(gmp_powm(5, 11, 0));
28 var_dump(gmp_powm(5, "11", gmp_init(0)));
34 var_dump(gmp_powm(array(),$e,$m));
39 var_dump(gmp_powm($n,array(),$m));
44 var_dump(gmp_powm($n,$error,array()));
49 var_dump(gmp_powm(array(),array(),array()));
56 var_dump(gmp_powm(10, $n, 10));
62 var_dump(gmp_powm(10, $n, 10));
78 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given
79 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, array given
80 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, TypeError given
81 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given
82 gmp_powm(): Argument #2 ($exponent) must be greater than or equal to 0