wambo is a binary that can easily shows you a numeric value in all important numeral systems (bin, hex, dec) + interprets the input as both signed and unsigned values (from i8 to i64, including f32 and f64). It also easily calculates you mibibytes to bytes, kilobytes to gibibytes and so on.
Install: $ cargo install wambo
$ wambo 1mb
$ wambo 0xdeadbeef
$ wambo 0b10001111_00000000
$ wambo 0xf_gb
(unorthodox, but possible: 15 gigabyte)$ wambo -h
(for more help and examples)
Just input an unsigned number (maximum 64bit) and wambo calculates
all values that are interesting to developers. Example output: \
"-7" is represented by 0xc0e00000 in floating point standard (IEEE-754). \
So $ wambo 0xc0e00000
results in (you can find the -7 in the f32 line):```
Decimal: 5367865903 Binary: 100111111111100110010001000101111 Octal: 47774621057 Hexadecimal: 13ff3222f
Bin (Rust-style): 0b00000000000000000000000000000001001111111111001100100010_00101111 Bin (C-style): 0b0000000000000000000000000000000100111111111100110010001000101111 Hex: 0x000000013ff3222f
i8: 47 u8: 47 i16: 8751 u16: 8751 i32: 1072898607 u32: 1072898607 i64: 5367865903 u64: 5367865903
f32: 1.89948070049285888 f64: 0
B: 5367865903 KB: 5367865.9029999999329447746 MB: 5367.865902999999889289 GB: 5.3678659030000
Bi: 5367865903 KiB: 5242056.5458984375 MiB: 5119.195845603942871093 GiB: 4.9992146929726004
```