Home
last modified time | relevance | path

Searched refs:nth (Results 1 – 5 of 5) sorted by relevance

/PHP-8.1/ext/gmp/tests/
H A Dgmp_root.phpt56 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 Dgmp_remroot.phpt95 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.1/ext/gmp/
H A Dgmp.c1393 zend_long nth; in ZEND_FUNCTION() local
1397 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zl", &a_arg, &nth) == FAILURE) { in ZEND_FUNCTION()
1401 if (nth <= 0) { in ZEND_FUNCTION()
1408 if (nth % 2 == 0 && mpz_sgn(gmpnum_a) < 0) { in ZEND_FUNCTION()
1415 mpz_root(gmpnum_result, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
1424 zend_long nth; in ZEND_FUNCTION() local
1433 if (nth <= 0) { in ZEND_FUNCTION()
1440 if (nth % 2 == 0 && mpz_sgn(gmpnum_a) < 0) { in ZEND_FUNCTION()
1456 mpz_rootrem(gmpnum_result1, gmpnum_result2, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
1458 mpz_root(gmpnum_result1, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
[all …]
H A Dgmp.stub.php59 function gmp_root(GMP|int|string $num, int $nth): GMP {} argument
65 function gmp_rootrem(GMP|int|string $num, int $nth): array {} argument
H A Dgmp_arginfo.h75 ZEND_ARG_TYPE_INFO(0, nth, IS_LONG, 0)
80 ZEND_ARG_TYPE_INFO(0, nth, IS_LONG, 0)

Completed in 12 milliseconds