Neolithic Psychedelic Mushrooms
Wondering what’s next for npm?Check out our public roadmap! »

@extra-bigint/ceil-div.minTypeScript icon, indicating that this package has built-in type declarations

0.0.56 • Public • Published

Gives value ≥ x/y. 🏃 📼 📦 🌔 📒

Similar: ceilDiv, floorDiv.
This is part of package extra-bigint.

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

bigint.ceilDiv(x, y);
// x: dividend
// y: divisor
const bigint = require('extra-bigint');

bigint.ceilDiv(1n, 10n);
// 1n

bigint.ceilDiv(-1n, 10n);
// 0n

bigint.ceilDiv(1n, -10n);
// 0n

bigint.ceilDiv(-1n, -10n);
// 1n

references

Install

npm i @extra-bigint/ceil-div.min

DownloadsWeekly Downloads

26

Version

0.0.56

License

MIT

Unpacked Size

4.68 kB

Total Files

9

Last publish

Collaborators

  • avatar