Nostalgic Perogi Monogramming

    @extra-bigint/sqrt.min
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.62 • Public • Published

    Gives square root of value.
    📦 NPM, 😺 GitHub, 🏃 RunKit, 🌔 Minified, 📜 Files, 📰 JSDoc, 📘 Wiki.

    This is part of package extra-bigint.

    This is browserified, minified version of @extra-bigint/sqrt.
    It is exported as global variable bigint_sqrt.
    CDN: unpkg, jsDelivr.


    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


    References

    Install

    npm i @extra-bigint/sqrt.min

    DownloadsWeekly Downloads

    11

    Version

    0.0.62

    License

    MIT

    Unpacked Size

    5.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77