Home
last modified time | relevance | path

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

/php-src/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-src/ext/gmp/
H A Dgmp.c1409 zend_long nth; in ZEND_FUNCTION() local
1413 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zl", &a_arg, &nth) == FAILURE) { in ZEND_FUNCTION()
1417 if (nth <= 0) { in ZEND_FUNCTION()
1424 if (nth % 2 == 0 && mpz_sgn(gmpnum_a) < 0) { in ZEND_FUNCTION()
1431 mpz_root(gmpnum_result, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
1440 zend_long nth; in ZEND_FUNCTION() local
1449 if (nth <= 0) { in ZEND_FUNCTION()
1456 if (nth % 2 == 0 && mpz_sgn(gmpnum_a) < 0) { in ZEND_FUNCTION()
1472 mpz_rootrem(gmpnum_result1, gmpnum_result2, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
1474 mpz_root(gmpnum_result1, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
[all …]
H A Dgmp.stub.php116 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 Dgmp_arginfo.h75 ZEND_ARG_TYPE_INFO(0, nth, IS_LONG, 0)
80 ZEND_ARG_TYPE_INFO(0, nth, IS_LONG, 0)

Completed in 17 milliseconds