<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.math.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.hypot.php',
    1 => 'hypot',
    2 => 'Calcule la longueur de l\'hypot&eacute;nuse d\'un triangle &agrave; angle droit',
  ),
  'up' => 
  array (
    0 => 'ref.math.php',
    1 => 'Fonctions Math',
  ),
  'prev' => 
  array (
    0 => 'function.hexdec.php',
    1 => 'hexdec',
  ),
  'next' => 
  array (
    0 => 'function.intdiv.php',
    1 => 'intdiv',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/math/functions/hypot.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.hypot" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">hypot</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">hypot</span> &mdash; <span class="dc-title">Calcule la longueur de l&#039;hypoténuse d&#039;un triangle à angle droit</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.hypot-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>hypot</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$x</code></span>, <span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$y</code></span>): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>hypot()</strong></span> retourne la longueur de l&#039;hypoténuse
   d&#039;un triangle à angle droit qui a des cotés d&#039;une longueur <code class="parameter">x</code> et
   <code class="parameter">y</code> ou bien la distance du point
   (<code class="parameter">x</code>, <code class="parameter">y</code>)
   depuis l&#039;origine. Ceci est l&#039;équivalent de <code class="code">sqrt($x*$x + $y*$y)</code>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.hypot-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">x</code></dt>
     <dd>
      <p class="para">
       Longueur du premier côté
      </p>
     </dd>
    
    
     <dt><code class="parameter">y</code></dt>
     <dd>
      <p class="para">
       Longueur du second côté
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.hypot-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   La longueur calculée de l&#039;hypoténuse
  </p>
 </div>

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