array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.gmp-rootrem.php', 1 => 'gmp_rootrem', 2 => 'Take the integer part and remainder of nth root', ), 'up' => array ( 0 => 'ref.gmp.php', 1 => 'GMP Функції', ), 'prev' => array ( 0 => 'function.gmp-root.php', 1 => 'gmp_root', ), 'next' => array ( 0 => 'function.gmp-scan0.php', 1 => 'gmp_scan0', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmp/functions/gmp-rootrem.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

gmp_rootrem

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

gmp_rootremTake the integer part and remainder of nth root

Опис

gmp_rootrem(GMP|int|string $num, int $nth): array

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

Параметри

num

GMP-номер типу resource в PHP 5.5 та старіших версіях, об'єкт GMP в PHP 5.6 та новіших, або ж числовий рядок за можливості перетворення останнього на число.

nth

The positive root to take of num.

Значення, що повертаються

A two element array, where the first element is the integer component of the root, and the second element is the remainder, both represented as GMP numbers.