25 packages found

M
Q
P

Description

Bit twiddling hacks for JavaScript

Keywords

Publisher

published 1.0.26 years ago
M
Q
P

Description

32-bit integer can store values from −2^31 to 2^31 − 1.

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets absolute value (xor method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Checks if value is a power-of-2 (decrement method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Checks if value is int32.

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets log-base-10 (log2 method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets power-of-2 (left-shift method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets power-of-10 (lookup method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Checks if two values have equal sign (xor method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets next power-of-2 (bit-shift method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets log-base-2 (DeBruijn method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

32-bit integer can store values from −2^31 to 2^31 − 1.

Keywords

Publisher

published 2.0.10a day ago
M
Q
P
M
Q
P

Description

Checks if value is a power-of-2 (decrement method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P
M
Q
P

Description

Gets absolute value (xor method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets log-base-10 (log2 method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Checks if value is int32.

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets next power-of-2 (bit-shift method).

Keywords

Publisher

published 2.0.10a day ago
M
Q
P

Description

Gets power-of-10 (lookup method).

Keywords

Publisher

published 2.0.10a day ago