diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-02 10:34:48 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-02 10:34:48 +0200 |
| commit | 2f14a896e4b897bd747c24d7ad8e9e7bb3237d03 (patch) | |
| tree | 396d5f265dc96402069b05d69f4e93b57fc84361 /.local | |
| parent | 8c453842ff211e1d918eecdf828320fa258bc593 (diff) | |
update from work
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/share/bin/= | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/share/bin/= b/.local/share/bin/= index 8f3345d..5e69f91 100755 --- a/.local/share/bin/= +++ b/.local/share/bin/= @@ -26,6 +26,9 @@ MIN = min MAX = max BIT = lambda n: 1 << n GENMASK = lambda h, l: (BIT(MAX(h, l) + 1) - 1) ^ (BIT(MIN(h, l)) - 1) +KB = lambda x: x << 10 +MB = lambda x: x << 20 +GB = lambda x: x << 30 try: ans = eval(" ".join(_argv[1:])) |