Projects / _calc

_calc

The calc command may be used to do simple integer calculations or to convert numbers from one radix to another. Calc reads commands from stdin and prints the result to stdout. The inpout radix for mumbers may be decimal (default), octal (if starting with a '0') or hexadecimal (if starting with "0x"). The output is always printed in four radices: decimal, octal, hexadecimal, and binary. The decimal variant is printed in both signed and unsigned representation. The result is printed in two variants using 32 bit and 64 bit repesentations for the numbers.

Tags
Licenses
Operating Systems

Recent releases

  •  12 Jul 2004 15:56

    Release Notes: Portability was greatly improved. Division by zero is avoided. The parser now deals with white space better.

    •  28 Apr 2001 10:07

      No changes have been submitted for this release.

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.