Home
last modified time | relevance | path

Searched refs:gmp_mod (Results 1 – 4 of 4) sorted by relevance

/PHP-7.1/ext/gmp/tests/
H A Dgmp_mod.phpt2 gmp_mod tests()
8 var_dump(gmp_mod());
9 var_dump(gmp_mod(""));
10 var_dump(gmp_mod("",""));
11 var_dump(gmp_mod(0,1));
12 var_dump(gmp_mod(0,-1));
13 var_dump(gmp_mod(-1,0));
15 var_dump(gmp_mod(array(), array()));
20 var_dump(gmp_mod($a, $b));
25 Warning: gmp_mod() expects exactly 2 parameters, 0 given in %s on line %d
[all …]
H A Dbug52906.phpt2 Bug #52906 gmp_mod returns negative result when non-negative is expected
20 echo "{$data[0]}%{$data[1]}=".gmp_strval(gmp_mod($data[0], $data[1]));
22 echo "{$data[0]}%{$data[1]}=".gmp_strval(gmp_mod(gmp_init($data[0]), gmp_init($data[1])));
/PHP-7.1/ext/gmp/
H A Dphp_gmp.h47 ZEND_FUNCTION(gmp_mod);
H A Dgmp.c156 ZEND_FE(gmp_mod, arginfo_gmp_binary)
1321 ZEND_FUNCTION(gmp_mod) in ZEND_FUNCTION() argument

Completed in 10 milliseconds