<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.math.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'book.gmp.php',
    1 => 'GMP',
    2 => 'GNU Multiple Precision',
  ),
  'up' => 
  array (
    0 => 'refs.math.php',
    1 => 'Matematiksel Eklentiler',
  ),
  'prev' => 
  array (
    0 => 'bcmath-number.unserialize.php',
    1 => 'BcMath\\Number::__unserialize',
  ),
  'next' => 
  array (
    0 => 'gmp.setup.php',
    1 => 'Yapılandırma/Kurulum',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gmp/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.gmp.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.gmp" class="book">
 
 <h1 class="title">GNU Multiple Precision</h1>
 
 
 
 <div id="intro.gmp" class="preface">
  <h1 class="title">Giriş</h1>
  <p class="simpara">
   These functions allow for arbitrary-length integers to be worked with using
   the GNU <abbr title="Multiple Precision">MP</abbr> library.
  </p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    Most GMP functions accept GMP number arguments. These are shown in this
    documentation as <span class="classname"><a href="class.gmp.php" class="classname">GMP</a></span> objects. Most
    of these functions will also accept numeric and string arguments, so long
    as it is possible to convert the latter to a number. Also, if there is a
    more performant function that can operate on the arguments (integers only),
    then it will be used instead (this is done transparently). See also the
    <span class="function"><a href="function.gmp-init.php" class="function">gmp_init()</a></span> function.
   </p>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    The
    <a href="language.operators.arithmetic.php" class="link">arithmetic</a>,
    <a href="language.operators.bitwise.php" class="link">bitwise</a>, and
    <a href="language.operators.comparison.php" class="link">comparison</a> operators
    may be used with the <span class="classname"><a href="class.gmp.php" class="classname">GMP</a></span> objects returned from
    <span class="function"><a href="function.gmp-init.php" class="function">gmp_init()</a></span> and other GMP functions.
   </p>
  </p></blockquote>
  <div class="warning"><strong class="warning">Uyarı</strong>
   <p class="simpara">
    Large integers must be specified as strings - otherwise, PHP will coerce
    them to floats, resulting in a loss of precision.
   </p>
  </div>
 </div>
 
 
 







 




 





 







 





<ul class="chunklist chunklist_book"><li><a href="gmp.setup.php">Yapılandırma/Kurulum</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="gmp.requirements.php">Gereksinimler</a></li><li><a href="gmp.installation.php">Kurulum</a></li></ul></li><li><a href="gmp.constants.php">&Ouml;ntanımlı Sabitler</a></li><li><a href="gmp.examples.php">&Ouml;rnekler</a></li><li><a href="ref.gmp.php">GMP İşlevleri</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.gmp-abs.php">gmp_abs</a> — Absolute value</li><li><a href="function.gmp-add.php">gmp_add</a> — Add numbers</li><li><a href="function.gmp-and.php">gmp_and</a> — Bitwise AND</li><li><a href="function.gmp-binomial.php">gmp_binomial</a> — Calculates binomial coefficient</li><li><a href="function.gmp-clrbit.php">gmp_clrbit</a> — Clear bit</li><li><a href="function.gmp-cmp.php">gmp_cmp</a> — Compare numbers</li><li><a href="function.gmp-com.php">gmp_com</a> — Calculates one's complement</li><li><a href="function.gmp-div.php">gmp_div</a> — Takma Adı: gmp_div_q</li><li><a href="function.gmp-div-q.php">gmp_div_q</a> — Divide numbers</li><li><a href="function.gmp-div-qr.php">gmp_div_qr</a> — Divide numbers and get quotient and remainder</li><li><a href="function.gmp-div-r.php">gmp_div_r</a> — Remainder of the division of numbers</li><li><a href="function.gmp-divexact.php">gmp_divexact</a> — Exact division of numbers</li><li><a href="function.gmp-export.php">gmp_export</a> — Export to a binary string</li><li><a href="function.gmp-fact.php">gmp_fact</a> — Factorial</li><li><a href="function.gmp-gcd.php">gmp_gcd</a> — Calculate GCD</li><li><a href="function.gmp-gcdext.php">gmp_gcdext</a> — Calculate GCD and multipliers</li><li><a href="function.gmp-hamdist.php">gmp_hamdist</a> — Hamming distance</li><li><a href="function.gmp-import.php">gmp_import</a> — Import from a binary string</li><li><a href="function.gmp-init.php">gmp_init</a> — Create GMP number</li><li><a href="function.gmp-intval.php">gmp_intval</a> — Convert GMP number to integer</li><li><a href="function.gmp-invert.php">gmp_invert</a> — Inverse by modulo</li><li><a href="function.gmp-jacobi.php">gmp_jacobi</a> — Jacobi symbol</li><li><a href="function.gmp-kronecker.php">gmp_kronecker</a> — Kronecker symbol</li><li><a href="function.gmp-lcm.php">gmp_lcm</a> — Calculate LCM</li><li><a href="function.gmp-legendre.php">gmp_legendre</a> — Legendre symbol</li><li><a href="function.gmp-mod.php">gmp_mod</a> — Modulo operation</li><li><a href="function.gmp-mul.php">gmp_mul</a> — Multiply numbers</li><li><a href="function.gmp-neg.php">gmp_neg</a> — Negate number</li><li><a href="function.gmp-nextprime.php">gmp_nextprime</a> — Find next prime number</li><li><a href="function.gmp-or.php">gmp_or</a> — Bitwise OR</li><li><a href="function.gmp-perfect-power.php">gmp_perfect_power</a> — Perfect power check</li><li><a href="function.gmp-perfect-square.php">gmp_perfect_square</a> — Perfect square check</li><li><a href="function.gmp-popcount.php">gmp_popcount</a> — Population count</li><li><a href="function.gmp-pow.php">gmp_pow</a> — Raise number into power</li><li><a href="function.gmp-powm.php">gmp_powm</a> — Raise number into power with modulo</li><li><a href="function.gmp-prob-prime.php">gmp_prob_prime</a> — Check if number is &quot;probably prime&quot;</li><li><a href="function.gmp-random.php">gmp_random</a> — Random number</li><li><a href="function.gmp-random-bits.php">gmp_random_bits</a> — Random number</li><li><a href="function.gmp-random-range.php">gmp_random_range</a> — Get a uniformly selected integer</li><li><a href="function.gmp-random-seed.php">gmp_random_seed</a> — Sets the RNG seed</li><li><a href="function.gmp-root.php">gmp_root</a> — Take the integer part of nth root</li><li><a href="function.gmp-rootrem.php">gmp_rootrem</a> — Take the integer part and remainder of nth root</li><li><a href="function.gmp-scan0.php">gmp_scan0</a> — Scan for 0</li><li><a href="function.gmp-scan1.php">gmp_scan1</a> — Scan for 1</li><li><a href="function.gmp-setbit.php">gmp_setbit</a> — Set bit</li><li><a href="function.gmp-sign.php">gmp_sign</a> — Sign of number</li><li><a href="function.gmp-sqrt.php">gmp_sqrt</a> — Calculate square root</li><li><a href="function.gmp-sqrtrem.php">gmp_sqrtrem</a> — Square root with remainder</li><li><a href="function.gmp-strval.php">gmp_strval</a> — Convert GMP number to string</li><li><a href="function.gmp-sub.php">gmp_sub</a> — Subtract numbers</li><li><a href="function.gmp-testbit.php">gmp_testbit</a> — Tests if a bit is set</li><li><a href="function.gmp-xor.php">gmp_xor</a> — Bitwise XOR</li></ul></li><li><a href="class.gmp.php">GMP</a> — The GMP class<ul class="chunklist chunklist_book chunklist_children"><li><a href="gmp.construct.php">GMP::__construct</a> — Create GMP number</li><li><a href="gmp.serialize.php">GMP::__serialize</a> — Serializes the GMP object</li><li><a href="gmp.unserialize.php">GMP::__unserialize</a> — Deserializes the data parameter into a GMP object</li></ul></li></ul></div><?php manual_footer($setup); ?>