aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/javascript/reference/global_objects/math/atan2/index.html
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/ca/web/javascript/reference/global_objects/math/atan2/index.html
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/ca/web/javascript/reference/global_objects/math/atan2/index.html')
-rw-r--r--files/ca/web/javascript/reference/global_objects/math/atan2/index.html140
1 files changed, 0 insertions, 140 deletions
diff --git a/files/ca/web/javascript/reference/global_objects/math/atan2/index.html b/files/ca/web/javascript/reference/global_objects/math/atan2/index.html
deleted file mode 100644
index 6cd84d1004..0000000000
--- a/files/ca/web/javascript/reference/global_objects/math/atan2/index.html
+++ /dev/null
@@ -1,140 +0,0 @@
----
-title: Math.atan2()
-slug: Web/JavaScript/Reference/Global_Objects/Math/atan2
-translation_of: Web/JavaScript/Reference/Global_Objects/Math/atan2
-original_slug: Web/JavaScript/Referencia/Objectes_globals/Math/atan2
----
-<div>{{JSRef}}</div>
-
-<p>La funció <strong><code>Math.atan2()</code></strong> retorna l'arctangent del quocient dels arguments passats.</p>
-
-<h2 id="Sintaxi">Sintaxi</h2>
-
-<pre class="syntaxbox"><code>Math.atan2(<var>y</var>, <var>x</var>)</code></pre>
-
-<h3 id="Paràmetres">Paràmetres</h3>
-
-<dl>
- <dt><code>y</code></dt>
- <dd>Primer nombre.</dd>
- <dt><code>x</code></dt>
- <dd>Segon nombre.</dd>
-</dl>
-
-<h2 id="Descripció">Descripció</h2>
-
-<p>El mètode <code>Math.atan2()</code> retorn aun valor numèric entre -π i π que representa l'angle theta d'un punt <code>(x, y)</code>. Aquest angle es representa en radiants, en sentit contrari a les agulles del rellotge, entre l'eix positiu X i el punt <code>(x, y)</code>. Cal destacar que els arguments d'aquesta funció representen les coordenades del punt, on el primer argument representa la coordenada <code>y</code> i el segon argument representa la coordenada <code>x</code>.</p>
-
-<p><code>Math.atan2()</code> rep els arguments <code>x</code> i <code>y</code> de forma separada mentre que <code>Math.atan()</code> rep la relació (ratio) entre aquests dos arguments.</p>
-
-<p>Com que que <code>atan2()</code> és un mètode estàtic de <code>Math</code>, sempre s'utilitza com a <code>Math.atan2()</code>, en comptes de com a mètode d'una instància de <code>Math</code> (<code>Math</code> no és un constructor).</p>
-
-<h2 id="Exemples">Exemples</h2>
-
-<h3 id="Utilitzar_Math.atan2()">Utilitzar <code>Math.atan2()</code></h3>
-
-<pre class="brush: js">Math.atan2(90, 15); // 1.4056476493802699
-Math.atan2(15, 90); // 0.16514867741462683
-
-Math.atan2(±0, -0); // ±PI.
-Math.atan2(±0, +0); // ±0.
-Math.atan2(±0, -x); // ±PI for x &gt; 0.
-Math.atan2(±0, x); // ±0 for x &gt; 0.
-Math.atan2(-y, ±0); // -PI/2 for y &gt; 0.
-Math.atan2(y, ±0); // PI/2 for y &gt; 0.
-Math.atan2(±y, -Infinity); // ±PI for finite y &gt; 0.
-Math.atan2(±y, +Infinity); // ±0 for finite y &gt; 0.
-Math.atan2(±Infinity, x); // ±PI/2 for finite x.
-Math.atan2(±Infinity, -Infinity); // ±3*PI/4.
-Math.atan2(±Infinity, +Infinity); // ±PI/4.
-</pre>
-
-<h2 id="Especificacions">Especificacions</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Especificació</th>
- <th scope="col">Estat</th>
- <th scope="col">Comentaris</th>
- </tr>
- <tr>
- <td>{{SpecName('ES1')}}</td>
- <td>{{Spec2('ES1')}}</td>
- <td>Definició inicial. Implementat a JavaScript 1.0.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.8.2.5', 'Math.atan2')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-math.atan2', 'Math.atan2')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilitat_amb_navegadors">Compatibilitat amb navegadors</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Suport bàsic</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Suport bàsic</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Vegeu_també">Vegeu també</h2>
-
-<ul>
- <li>{{jsxref("Math.acos()")}}</li>
- <li>{{jsxref("Math.asin()")}}</li>
- <li>{{jsxref("Math.atan()")}}</li>
- <li>{{jsxref("Math.cos()")}}</li>
- <li>{{jsxref("Math.sin()")}}</li>
- <li>{{jsxref("Math.tan()")}}</li>
-</ul>