********************************************************************************
*
*                   EXPRESS CALCULATOR
*
*          Hilfe zum  DOS-Taschenrechner CALCUL.EXE
*
*       Datei CALCUL.TXT      (c) Thomas Antoni,  15.4.99
*
********************************************************************************

Functions
==========

abs(x)    the absolute value of x
sqrt(x)   the positive square root of x
lg(x)     the base 10 logarithm of x
ln(x)     the natural logarithm of x
log(x)    the base 2 logarithm of x
sin(x)    the sine of x
cos(x)    the cosine of x
tan(x)    the tangent of x
tg(x)     the tangent of x
asin(x)   the arc sine of x
acos(x)   the arc cosine of x
atan(x)   the arc tangent of x

arcsin(x) the arc sine of x
arccos(x) the arc cosine of x
arctan(x) the arc tangent of x
atg(x)    the arc tangent of x
arctg(x)  the arc tangent of x
deg(x)    convert x from radian to degree
rad(x)    convert x from degree to radian
int(x)    the nearest integer to x
c(m, n)   the combination number
p(m, n)   the permutation number


Number examples
================

3.3e-6
.3e5
.98
3.5
0xf
$a
10h
11b
10
2p
3s
4k
5m
4g
pi
e
'a'
"B"


Operators
=============

In the following table of operator precedence, the Express Calculators
operators are divided into 11 categories. The #1 category has the highest
precedence; category #2 takes second precedence, and so on. The operators
within each category have equal precedence. The Unary and
Assignment operators associate right-to-left; all other operators
associate left-to-right.

1. Unary            ~      Bitwise (1's) complement
                    not    Bitwise (1's) complement

                    -      Unary minus

2. Factorial        !      Factorial

3. Power            **     Power

4. Multiplicative   *      Multiply
                    /      Divide
                    %      Remainder (modulus)
                    mod    Remainder (modulus)

5. Additive         +      Binary plus
                    -      Binary minus

6. Shift            <<     Shift left
                    shl    Shift left
                    >>     Shift right
                    shr    Shift right


7. Bitwise AND      &      Bitwise AND
                    and    Bitwise AND

8. Bitwise XOR      ^      Bitwise XOR
                    xor    Bitwise XOR

9. Bitwise OR       |      Bitwise OR
                    or     Bitwise OR

10. Assignment      =      Simple assignment
                    :=     Simple assignment

11. Comma           ,      Evaluate
