bitwise

Multi base interactive calculator supporting dynamic base conversion and bit manipulation.

TLDR

Run using interactive mode

$ bitwise
copy

Convert from decimal

$ bitwise [12345]
copy

Convert from hexadecimal

$ bitwise [0x563d]
copy

Convert a C-style calculation

$ bitwise "[0x123 + 0x20 - 30 / 50]"
copy

SYNOPSIS

bitwise [OPTION...] [expression]

DESCRIPTION

[expression] mathematical expression

-i, --interactive

Load interactive mode (default if no input)

-w, --width[b|w|l|d]

Set bit width (default: l)

-h, --help

Display this help and exit

-v, --version

Output version information and exit

-s, --si

Output sizes according to SI standard. (default: IEC standard)

--no-color

Start without color support

SEE ALSO

The full documentation for bitwise can be found at https://github.com/mellowcandle/bitwise

AUTHOR

Written by Ramon Fried

Copied to clipboard
chromebooks