- Notifications
You must be signed in to change notification settings - Fork0
2️⃣ Bit twiddling hacks for JavaScript
License
NotificationsYou must be signed in to change notification settings
pot-pourri/bit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Bit twiddling hacks code bricks for JavaScript.
Can be managed throughduo,component,bower, ornpm.
letbit=require("@aureooms/js-bit");
Example usage:
/* Compute the sign of an integer */bit.sign(0);// 0bit.sign(-67);// -1bit.sign(432);// +1/* Compute the lexicographically next bit permutation */bit.next(0b00101001);// 0b00101010
References:
About
2️⃣ Bit twiddling hacks for JavaScript
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.