[HN Gopher] Gaining Bitwisdom from Keyboard Shortcuts
___________________________________________________________________
Gaining Bitwisdom from Keyboard Shortcuts
Author : codelikeawolf
Score : 5 points
Date : 2022-02-20 19:23 UTC (3 hours ago)
(HTM) web link (mikerourke.dev)
(TXT) w3m dump (mikerourke.dev)
| goldenkey wrote:
| If you need a lot of flags you can use BigNums:
|
| 1n << 68n = 295147905179352825856n
|
| (1n << 68n).toString(2) = '10000000000000000000000000000000000000
| 0000000000000000000000000000000'
___________________________________________________________________
(page generated 2022-02-20 23:01 UTC)