aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/javascript/referencje/obiekty/bigint/asuintn/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/web/javascript/referencje/obiekty/bigint/asuintn/index.html')
-rw-r--r--files/pl/web/javascript/referencje/obiekty/bigint/asuintn/index.html78
1 files changed, 0 insertions, 78 deletions
diff --git a/files/pl/web/javascript/referencje/obiekty/bigint/asuintn/index.html b/files/pl/web/javascript/referencje/obiekty/bigint/asuintn/index.html
deleted file mode 100644
index 0f290f50c4..0000000000
--- a/files/pl/web/javascript/referencje/obiekty/bigint/asuintn/index.html
+++ /dev/null
@@ -1,78 +0,0 @@
----
-title: BigInt.asUintN()
-slug: Web/JavaScript/Referencje/Obiekty/BigInt/asUintN
-tags:
- - BigInt
- - JavaScript
- - Metodă
- - Referencja
- - asUintN
-translation_of: Web/JavaScript/Reference/Global_Objects/BigInt/asUintN
----
-<div>{{JSRef}}</div>
-
-<p>Metoda statyczna <strong><code>BigInt.asUintN</code></strong> jest używana do opakowywania wartości BigInt w wartości całkowite bez znaku w zakresie od 0 do 2<sup>szerokość</sup>-1.</p>
-
-<div>{{EmbedInteractiveExample("pages/js/bigint-asuintn.html", "taller")}}</div>
-
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
-<h2 id="Składnia">Składnia</h2>
-
-<pre class="syntaxbox">BigInt.asUintN(<em>szerokość</em>, <var>bigint</var>);</pre>
-
-<h3 id="Parametry">Parametry</h3>
-
-<dl>
- <dt><code><var>szerokość</var></code></dt>
- <dd>Liczba bitów dostępnych dla rozmiaru wartości całkowitej (integer).</dd>
- <dt><code><var>bigint</var></code></dt>
- <dd>Wartość całkowita, którą chcemy wpasować w daną liczbę bitów.</dd>
-</dl>
-
-<h3 id="Wynik">Wynik</h3>
-
-<p>Wartość <code><var>bigint</var></code> modulo 2<sup><code><var>szerokość</var></code></sup> jako wartość całkowita bez znaku.</p>
-
-<h2 id="Przykłady">Przykłady</h2>
-
-<h3 id="Pozostawanie_w_zakresie_arytmetyki_64-bitowej">Pozostawanie w zakresie arytmetyki 64-bitowej</h3>
-
-<p>Metoda <code>BigInt.asUintN()</code> może być użyteczna do tego, by pozostać w zakresie obliczeń arytmetyki 64-bitowej.</p>
-
-<pre class="brush: js">const max = 2n ** 64n - 1n;
-
-BigInt.asUintN(64, max);
-// ↪ 18446744073709551615n
-
-BigInt.asUintN(64, max + 1n);
-// ↪ 0n
-// zero z powodu przepełnienia</pre>
-
-<h2 id="Specyfikacje">Specyfikacje</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Specyfikacja</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-bigint.asuintn', 'BigInt.asUintN()')}}</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Wsparcie_przeglądarek">Wsparcie przeglądarek</h2>
-
-
-
-<p>{{Compat("javascript.builtins.BigInt.asUintN")}}</p>
-
-<h2 id="Zobacz_też">Zobacz też</h2>
-
-<ul>
- <li>{{JSxRef("BigInt")}}</li>
- <li>{{JSxRef("BigInt.asIntN()")}}</li>
-</ul>