clarence(1)

NAME
clarence - programmer's scientific calculator for X

SYNOPSIS
clarence.py

DESCRIPTION
Clarence is a programmer's scientific calculator writen in Python. It has gui based on PyGTK, uses all Python's operators, math module functions and constants. It can handle all basic numerical formats including Dec, Hex, Bin, Oct, and ASCII. Expressions can be entered in an entry field without mouse operations (no more buttons).

OPERATION
Avaiable operators, functions and constants: or - Boolean OR and - Boolean AND not x - Boolean NOT | - Bitwise OR ^ - Bitwise XOR & - Bitwise AND ~x - Bitwise NOT <<, >> - Shifts + - Addition - - Subtraction * - Multiplication / - Division % - Remainder ** - Exponentiation +x, -x - Positive, negative acos (x) - Return the arc cosine of x. asin (x) - Return the arc sine of x. atan (x) - Return the arc tangent of x. atan2 (y, x) - Return atan(y / x). ceil (x) - Return the ceiling of x as a real. cos (x) - Return the cosine of x. cosh (x) - Return the hyperbolic cosine of x. exp (x) - Return e^x. fabs (x) - Return the absolute value of the real x. floor (x) - Return the floor of x as a real. fmod (x, y) - Return x % y. hypot (x, y) - Return the Euclidean distance, sqrt(x*x + y*y). ldexp (x, i) - Return x * (2**i). log (x) - Return the natural logarithm of x. log10 (x) - Return the base-10 logarithm of x. pow (x, y) - Return x^y. sin (x) - Return the sine of x. sinh (x) - Return the hyperbolic sine of x. sqrt (x) - Return the square root of x. tan (x) - Return the tangent of x. tanh (x) - Return the hyperbolic tangent of x. pi - The mathematical constant pi. e - The mathematical constant e. veclen (x0,y0,x1,y1) - Return the vector's length. bin ("10100010110") - Return value of binary string. asc ("something") - Return value for last four ASCII chars. ans () - Return last result.

FILES
clarence.py
~/.clay/clarence

AUTHOR
Tomasz Maka
p@ll.pl