array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.gmp-root.php', 1 => 'gmp_root', 2 => 'Take the integer part of nth root', ), 'up' => array ( 0 => 'ref.gmp.php', 1 => 'Funzioni GMP', ), 'prev' => array ( 0 => 'function.gmp-random-seed.php', 1 => 'gmp_random_seed', ), 'next' => array ( 0 => 'function.gmp-rootrem.php', 1 => 'gmp_rootrem', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmp/functions/gmp-root.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

gmp_root

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

gmp_rootTake the integer part of nth root

Descrizione

gmp_root(GMP|int|string $num, int $nth): GMP

Takes the nth root of num and returns the integer component of the result.

Elenco dei parametri

num

Può essere o una resource numero GMP, oppure una stringa numerica dal momento che è possibile convertire quest'ultimo in un numero.

nth

The positive root to take of num.

Valori restituiti

The integer component of the resultant root, as a GMP number.