diff options
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/bigint/asintn/index.html')
-rw-r--r-- | files/fr/web/javascript/reference/global_objects/bigint/asintn/index.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/bigint/asintn/index.html b/files/fr/web/javascript/reference/global_objects/bigint/asintn/index.html index 61315c5511..13023405cf 100644 --- a/files/fr/web/javascript/reference/global_objects/bigint/asintn/index.html +++ b/files/fr/web/javascript/reference/global_objects/bigint/asintn/index.html @@ -11,12 +11,10 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/BigInt/asIntN --- <p>{{JSRef}}</p> -<p>La méthode statique <strong><code>BigInt.asIntN()</code></strong> permet d'écréter un nombre <code>BigInt</code> pour obtenir un entier signé entre 2<sup>largeur-1</sup> et 2<sup>largeur-1</sup>-1.</p> +<p>La méthode statique <strong><code>BigInt.asIntN()</code></strong> permet d'écréter un nombre <code>BigInt</code> pour obtenir un entier signé entre 2^(largeur-1) et 2^(largeur-1)-1.</p> <div>{{EmbedInteractiveExample("pages/js/bigint-asintn.html")}}</div> -<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuer à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p> - <h2 id="Syntaxe">Syntaxe</h2> <pre class="syntaxbox">var <var>resultat</var> = BigInt.asIntN(<var>largeur</var>, <var>bigint</var>);</pre> @@ -32,7 +30,7 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/BigInt/asIntN <h3 id="Valeur_de_retour">Valeur de retour</h3> -<p>La valeur de <code>bigint</code> modulo 2<sup><code>largeur</code></sup> comme entier signé.</p> +<p>La valeur de <code>bigint</code> modulo 2^<code>largeur</code> comme entier signé.</p> <h2 id="Exemples">Exemples</h2> |