wambo - a binary from a developer for developers

wambo is a binary that can easily shows you a 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.

Usage

Install: $ cargo install wambo

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):

``` interpreting input as: unsigned integer decimal: 3235905536 hex : 0x00000000c0e00000 (64bit) bin : 0b0000000000000000000000000000000011000000111000000000000000000000 (64bit)

interpreting input as: several signed data types i8 (decimal): 0 i16 (decimal): 0 i32 (decimal): -1059061760 i64 (decimal): 3235905536 f32 (decimal): -7.0000000 (bits interpreted as IEEE-754) f64 (decimal): 0.0000000 (bits interpreted as IEEE-754)

interpreting input as: file sizes / number of bytes B : 3235905536 KB : 3235905.536 MB : 3235.906 GB : 3.236

interpreting input as: *ibi-bytes (1024 (=multiple of 2) as base instead of 1000) KiB : 3160064.000 MiB : 3086.000 GiB : 3.014 ```