Skip to content
Subhajit Sahu edited this page Jun 24, 2020 · 7 revisions

Gives cube root of value. 🏃 📼 📦 🌔 📒

bigint.cbrt(x);
// x: a bigint
const bigint = require('extra-bigint');

bigint.cbrt(8n);
// 2n

bigint.cbrt(7n);
// 1n

bigint.cbrt(-27n);
// -3n

references

Clone this wiki locally