<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.gmp.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  '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 => 'GMP Funktionen',
  ),
  '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);

?>
<div id="function.gmp-root" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">gmp_root</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.6.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">gmp_root</span> &mdash; <span class="dc-title">Take the integer part of nth root</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.gmp-root-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>gmp_root</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="class.gmp.php" class="type GMP">GMP</a></span>|<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$num</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$nth</code></span>): <span class="type"><a href="class.gmp.php" class="type GMP">GMP</a></span></div>

  <p class="para rdfs-comment">
   Takes the <code class="parameter">nth</code> root of <code class="parameter">num</code> and
   returns the integer component of the result.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.gmp-root-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">num</code></dt>
     <dd>
      <p class="para">
 Ein <span class="classname"><a href="class.gmp.php" class="classname">GMP</a></span>-Object, ein <a href="language.types.integer.php" class="link">Integer</a> oder eine Zeichenkette,
 die als Zahl interpretiert werden kann, wobei die gleiche Logik gilt, als ob
 die Zeichenkette in <span class="function"><a href="function.gmp-init.php" class="function">gmp_init()</a></span> mit automatischer Erkennung
 der Basis verwendet würde (d. h. wenn <code class="parameter">base</code> gleich 0 ist).
</p> 
     </dd>
    
    
     <dt><code class="parameter">nth</code></dt>
     <dd>
      <p class="para">
       The positive root to take of <code class="parameter">num</code>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.gmp-root-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   The integer component of the resultant root, as a GMP number.
  </p>
 </div>

</div><?php manual_footer($setup); ?>