0.0.62 ā¢ Published 3 years ago
@extra-bigint/cubic-mean v0.0.62
Gives absolute value. š¦ NPM, šŗ GitHub, š RunKit, š Minified, š Files, š° JSDoc, š Wiki.
This is part of package extra-bigint.
bigint.cubicMean(x);
// x: a bigint
const bigint = require('extra-bigint');
bigint.cubicMean(-5n);
// 5n
bigint.cubicMean(5n);
// 5n
bigint.cubicMean(0n);
// 0n