⤷ Title: Improving the Log2 Algorithm for BigInt in JavaScript
════════════════════════
𐀪 Author: Sergey Shandar
════════════════════════
ⴵ Time: Sat, 11 Jan 2025 10:04:47 GMT
════════════════════════
⌗ Tags: #logarithm #functional_programming #hacking #javascript #bigint
════════════════════════
𐀪 Author: Sergey Shandar
════════════════════════
ⴵ Time: Sat, 11 Jan 2025 10:04:47 GMT
════════════════════════
⌗ Tags: #logarithm #functional_programming #hacking #javascript #bigint
Medium
Improving the Log2 Algorithm for BigInt in JavaScript
I usually use the bigint type in JavaScript and FunctionalScript as a vector of bits, and I often need to know how many bits are in a…