{"repo":"jarun/bcal","free":true,"listed":false,"github":"https://github.com/jarun/bcal","clone":"git clone https://github.com/jarun/bcal.git","description":":1234: Bits, bytes and general-purpose calculator","language":"C","stars":698,"topics":["storage","storage-unit-converter","command-line","standalone","terminal","calculator","mathematics","unit-conversion","expression-evaluator","console"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"bcal bcal ( Byte CALculator ) is a REPL CLI utility for storage expression (e.g. \"(2GiB 2) / (2KiB 2)\" ) evaluation, SI/IEC conversion, byte address calculation, base conversion and LBA/CHS calculation. It's very useful for those who deal with bits, bytes, addresses and binary prefixes frequently. It also supports general-purpose operations (program option -b , prompt key b ). bcal uses SI and IEC binary prefixes and supports 64-bit Operating Systems only. Table of Contents - Features - Installation - Dependencies - From a package manager - From source - make options - Termux - Usage - cmdline options - Operational notes - Environment variables - Examples - Testing - Copyright Features - REPL and single execution modes - evaluate arithmetic expressions involving storage units - general-purpose operations - arithmetic: addition, subtraction, multiplication, division, modulo - bitwise: AND (&), OR ( ), XOR (^), complement ( ), lshift ( ) - functions: exp(n), log(base, n), ln(n) [natural log], pow(n, exponent), root(radical, n), sum(n1 n2 ...) - works with piped input or file redirection - convert to IEC/SI standard data storage units - REPL mode with the last valid result stored for reuse - show the address in bytes - show address as LBA:OFFSET - convert CHS to LBA and vice versa - base conversion to binary, decimal and hex - show bit positions with bit value of a number - custom sector size, max heads/cylinder and max sectors/track - minimal dependencies Installation Dependenc","default_branch":null,"files":null,"tree":[],"storefront":"/r/jarun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jarun/bcal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}