Calcc 0.1.4

Calcc is a useful command-line calculator (32/64 bit numbers) which supports multiple input and output formats.
Calcc is a useful command-line calculator (32/64 bit numbers) which supports multiple input and output formats (hex, decimal, octal, base4, binary, string and IPv4/v6 addresses, base64, percentage, time), parenthesis and the following operators: complemen

Can be used also like a quick and easy to use numbers converter.

I have decided to write this program for requirement (I'm lost without a command-line calculator) just because after many time and searches on Internet I have never found something similar supporting what I needed.

It is specific for people which use C and assembly and need a fast and simple way for computing particular calculations often used in these programming languages but it's also perfect for who wants to do 1+2 without reading a boring manual and without using tons of different programs for converting and reconverting inputs and outputs from a format to another one.

The program supports different types of input formats (default is decimal) and are recognized through a character before each number:

0x = hexadecimal example: 0x41
$ = hexadecimal example: $41
h = hexadecimal example: h41
o = octal example: o101
b = binary example: b1000001
i = IP address (v4 or v6) example: i1.2.3.4 or 1.2.3.4
or 1.2.3.4.5.6
q = base_four example: q1001
t = time hh:mm:ss example: t12:34:53
if you use t0 will be get the current system time
c = percentage example: 200 - c10 (it's like 200 - 10%)
200 = c10 (returns the 10%)
must be specified ever at right of the operation
= decimal (default) example: 65

All the input types are case insensitive, so 0x7a is the same of 0X7A.

IP addresses (both ipv4 and ipv6 supported) are automatically recognized also without specifying the 'i' char, if the program finds at least 3 dots in a number considers it an IP address.

last updated on:
October 30th, 2008, 19:15 GMT
price:
FREE!
developed by:
Luigi Auriemma
license type:
GPL (GNU General Public License) 
category:
ROOT \ Science and Engineering \ Mathematics

FREE!

In a hurry? Add it to your Download Basket!

user rating 18

UNRATED
3.0/5
 

0/5

1 Screenshot
Calcc
What's New in This Release:
  • This release fixes a bug with "complement" (~) and "not" (!) when used without parentheses, adds base32 output, and adds a makefile for Unix.
  • The base64 output now uses the RFC 4648 alphabet, and there are portability optimizations.
read full changelog

Add your review!

SUBMIT