We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Gives square root of value. 🏃 📼 📦 🌔 📒
bigint.sqrt(x); // x: a bigint
const bigint = require('extra-bigint'); bigint.sqrt(16n, 2n); // 4n bigint.sqrt(15n, 2n); // 3n bigint.sqrt(-16n, 2n); // null