Lines Matching refs:gmp_pow
2 gmp_pow() basic tests
10 var_dump(gmp_strval(gmp_pow(2,10)));
11 var_dump(gmp_strval(gmp_pow(-2,10)));
12 var_dump(gmp_strval(gmp_pow(-2,11)));
13 var_dump(gmp_strval(gmp_pow("2",10)));
14 var_dump(gmp_strval(gmp_pow("2",0)));
16 gmp_pow("2", -1);
20 var_dump(gmp_strval(gmp_pow("-2",10)));
22 gmp_pow(20,10);
27 gmp_pow(50,10);
32 gmp_pow(50,-5);
38 gmp_pow($n,10);
44 gmp_pow($n,10);
49 var_dump(gmp_pow(2,array()));
55 var_dump(gmp_pow(array(),10));
68 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0
72 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0
75 gmp_pow(): Argument #2 ($exponent) must be of type int, array given
76 gmp_pow(): Argument #1 ($num) must be of type GMP|string|int, array given