aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/javascript/reference/global_objects/math/asinh/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ca/web/javascript/reference/global_objects/math/asinh/index.html')
-rw-r--r--files/ca/web/javascript/reference/global_objects/math/asinh/index.html126
1 files changed, 0 insertions, 126 deletions
diff --git a/files/ca/web/javascript/reference/global_objects/math/asinh/index.html b/files/ca/web/javascript/reference/global_objects/math/asinh/index.html
deleted file mode 100644
index 52c70da63f..0000000000
--- a/files/ca/web/javascript/reference/global_objects/math/asinh/index.html
+++ /dev/null
@@ -1,126 +0,0 @@
----
-title: Math.asinh()
-slug: Web/JavaScript/Reference/Global_Objects/Math/asinh
-translation_of: Web/JavaScript/Reference/Global_Objects/Math/asinh
-original_slug: Web/JavaScript/Referencia/Objectes_globals/Math/asinh
----
-<div>{{JSRef}}</div>
-
-<p>La funció <strong><code>Math.asinh()</code></strong> retorna l'arcsinus hiperbòlic d'un nombre, és a dir</p>
-
-<p><math display="block"><semantics><mrow><mstyle mathvariant="monospace"><mrow><mo lspace="0em" rspace="thinmathspace">Math.asinh</mo><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></mstyle><mo>=</mo><mo lspace="0em" rspace="thinmathspace">arsinh</mo><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>=</mo><mtext> l'única </mtext><mspace width="thickmathspace"></mspace><mi>y</mi><mspace width="thickmathspace"></mspace><mtext>tal que</mtext><mspace width="thickmathspace"></mspace><mo lspace="0em" rspace="0em">sinh</mo><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo><mo>=</mo><mi>x</mi></mrow><annotation encoding="TeX">\mathtt{\operatorname{Math.asinh}(x)} = \operatorname{arsinh}(x) = \text{ the unique } \; y \; \text{such that} \; \sinh(y) = x</annotation></semantics></math></p>
-
-<h2 id="Sintaxi">Sintaxi</h2>
-
-<pre class="syntaxbox"><code>Math.asinh(<var>x</var>)</code></pre>
-
-<h3 id="Paràmetres">Paràmetres</h3>
-
-<dl>
- <dt><code>x</code></dt>
- <dd>Un nombre.</dd>
-</dl>
-
-<h2 id="Descripció">Descripció</h2>
-
-<p>Com que que <code>asinh</code>() és un mètode estàtic de Math, sempre s'utilitza com a Math.<code>asinh</code>(), en comptes de com a mètode d'una instància de Math (Math no és un constructor).</p>
-
-<h2 id="Exemples">Exemples</h2>
-
-<h3 id="Utilitzar_Math.asinh()">Utilitzar <code>Math.asinh()</code></h3>
-
-<pre class="brush: js">Math.asinh(1); // 0.881373587019543
-Math.asinh(0); // 0
-</pre>
-
-<h2 id="Polyfill">Polyfill</h2>
-
-<p>Tenim que <math><semantics><mrow><mo lspace="0em" rspace="thinmathspace">arsinh</mo><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>=</mo><mo lspace="0em" rspace="0em">ln</mo><mrow><mo>(</mo><mrow><mi>x</mi><mo>+</mo><msqrt><mrow><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo><mn>1</mn></mrow></msqrt></mrow><mo>)</mo></mrow></mrow><annotation encoding="TeX">\operatorname {arsinh} (x) = \ln \left(x + \sqrt{x^{2} + 1} \right)</annotation></semantics></math> amb el que podem emular el comportament amb la funció següent:</p>
-
-<pre class="brush: js">Math.asinh = Math.asinh || function(x) {
- if (x === -Infinity) {
- return x;
- } else {
- return Math.log(x + Math.sqrt(x * x + 1));
- }
-};
-</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('ES6', '#sec-math.asinh', 'Math.asinh')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>Definició inicial.</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>{{CompatChrome("38")}}</td>
- <td>{{CompatGeckoDesktop("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("25")}}</td>
- <td>{{CompatSafari("7.1")}}</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Vegeu_també">Vegeu també</h2>
-
-<ul>
- <li>{{jsxref("Math.acosh()")}} {{experimental_inline}}</li>
- <li>{{jsxref("Math.atanh()")}} {{experimental_inline}}</li>
- <li>{{jsxref("Math.cosh()")}} {{experimental_inline}}</li>
- <li>{{jsxref("Math.sinh()")}} {{experimental_inline}}</li>
- <li>{{jsxref("Math.tanh()")}} {{experimental_inline}}</li>
-</ul>