JSPM

  • Created
  • Published
  • Downloads 21322
  • Score
    100M100P100Q142937F
  • License MIT

A BigInt can represent whole numbers larger than 2⁵³ - 1.

Package Exports

  • extra-bigint

Readme

A BigInt can represent whole numbers larger than 2⁵³ - 1.
📦 NPM, 😺 GitHub, 🏃 RunKit, 🌔 Minified, 📜 Files, 📰 JSDoc, 📘 Wiki.

Stability: Experimental.


const bigint = require("extra-bigint");
// import * as bigint from "extra-bigint";
// import * as bigint from "https://unpkg.com/extra-bigint@0.0.60/index.mjs"; (deno)

bigint.log2(10n);
bigint.log2(11n);
bigint.log2(12n);
// 3


Index

Name Action
is Checks if value is BigInt.