From: Albrecht Kleine (kleine@ak.sax.de)
Date: Sun Jul 08 2001 - 19:18:18 CEST
Hi,
I've just uploaded another version of e3 editor.
most important: I've completed the built in arithmetic
calculator: compared with e3-1.6 the signs +- and the
parenthesis () and 'p' and 'r' are new stuff.
A part of README, FYI:
=================
You can do some simple arithmetic calculations inside your text.
For example:
1234+56*78=
place cursor here^ and press one of:
^KN for WSTAR mode
^QC for PICO mode
^X^N for EMACS mode
# for VI command mode
^K for NEDIT mode
This should insert the result of 5602 into text.
Use values -999999999999.999999 ... -0.000001, 0, 0.000001 up to
999999999999.999999 and operators +-*/ and ( ) .
Some more examples:
2+4*8=34
2/3*3=2
-4*-3--5*-4=-8
4-3--4-3=2
-5*-(13+-2*(3+4))+2=-3
(7*(((((6+2+(((((1)))))))))))=63
(13120-9972)/9972=0.315684
100000000+0.000001=100000000.000001
10000000000+1=10000000001
1+1*2*3*4*5*6*7*8*9*10=3628801
7.627891*2.643189=20.161958
10000000000/8=1250000000
100000000000+1.00001=99999997953.00001 <--loss of precision!
8/0= <--not possible. You know.
100000000*100000000= <--overflow
Some specials:
12*p=37.699112 <--p is PI 3.14.....
r+20=57.699112 <--r is result of last calculation
Cheers,
Albrecht
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:19 CET