Searched refs:nth (Results 1 – 5 of 5) sorted by relevance
/PHP-8.2/ext/gmp/tests/ |
H A D | gmp_root.phpt | 56 gmp_root(): Argument #2 ($nth) must be odd if argument #1 ($a) is negative 61 gmp_root(): Argument #2 ($nth) must be greater than 0 62 gmp_root(): Argument #2 ($nth) must be greater than 0
|
H A D | gmp_remroot.phpt | 95 gmp_rootrem(): Argument #2 ($nth) must be odd if argument #1 ($a) is negative 108 gmp_rootrem(): Argument #2 ($nth) must be greater than or equal to 1 109 gmp_rootrem(): Argument #2 ($nth) must be greater than or equal to 1
|
/PHP-8.2/ext/gmp/ |
H A D | gmp.c | 1489 zend_long nth; in ZEND_FUNCTION() local 1493 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zl", &a_arg, &nth) == FAILURE) { in ZEND_FUNCTION() 1497 if (nth <= 0) { in ZEND_FUNCTION() 1504 if (nth % 2 == 0 && mpz_sgn(gmpnum_a) < 0) { in ZEND_FUNCTION() 1511 mpz_root(gmpnum_result, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION() 1520 zend_long nth; in ZEND_FUNCTION() local 1529 if (nth <= 0) { in ZEND_FUNCTION() 1536 if (nth % 2 == 0 && mpz_sgn(gmpnum_a) < 0) { in ZEND_FUNCTION() 1552 mpz_rootrem(gmpnum_result1, gmpnum_result2, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION() 1554 mpz_root(gmpnum_result1, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION() [all …]
|
H A D | gmp.stub.php | 116 function gmp_root(GMP|int|string $num, int $nth): GMP {} argument 122 function gmp_rootrem(GMP|int|string $num, int $nth): array {} argument
|
H A D | gmp_arginfo.h | 75 ZEND_ARG_TYPE_INFO(0, nth, IS_LONG, 0) 80 ZEND_ARG_TYPE_INFO(0, nth, IS_LONG, 0)
|
Completed in 15 milliseconds