uTools-Manuals/docs/php/gmp_rootrem.html
2019-04-28 19:00:34 +08:00

73 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Take the integer part and remainder of nth root</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.gmp-rootrem" class="refentry">
<div class="refnamediv">
<h1 class="refname">gmp_rootrem</h1>
<p class="verinfo">(PHP 5 &gt;= 5.6.0, PHP 7)</p><p class="refpurpose"><span class="refname">gmp_rootrem</span> &mdash; <span class="dc-title">Take the integer part and remainder of nth root</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.gmp-rootrem-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>gmp_rootrem</strong></span>
( <span class="methodparam"><span class="type"><a href="class.gmp.html" class="type GMP">GMP</a></span> <code class="parameter">$a</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$nth</code></span>
) : <span class="type">array</span></div>
<p class="para rdfs-comment">
Takes the <code class="parameter">nth</code> root of <code class="parameter">a</code> and
returns the integer component and remainder of the result.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.gmp-rootrem-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">a</code></dt>
<dd>
<p class="para">可以是一个 GMP
数据 <span class="type"><span class="type resouce">resouce</span></span>,或一个可以转换为数值的字符串。</p>
</dd>
<dt>
<code class="parameter">nth</code></dt>
<dd>
<p class="para">
The positive root to take of <code class="parameter">a</code>.
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.gmp-rootrem-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
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.
</p>
</div>
</div></div></div></body></html>