On 5/15/07, Mateusz Viste <[EMAIL PROTECTED]> wrote:

> Do you think FreeDOS needs such a calc application? I know there is already
> FDRC, which is a resident calculator, but haven't a nice TUI like FoxCalc
> ;-P

Well, FDRC uses Reverse Polish notation, it seems to be a rather
developer oriented tool.
As for Foxcalc I can say that in my view, a calculator application (I
mean, for human beings) is always good. I use the calc utility of
Windows fairly often so I see no reason why FreeDOS wouldn't have such
a tool included. If possible, adding a scientific mode would be nice
(sin, cos, tan, displaying say 1000000 as 1E06, brackets,  basic stats
(ie enter your data and see characteristic values like standard
deviation, mean etc. when finished). I don't use these functions
anymore, but there was a time when I really needed them. A backspace
key to erase the most recently entered character might be useful, too.

Also note that FoxCalc doesn't return any error message when you
divide a number by zero or when you try to get the square root of a
negative number.
Another possible bug: try  9 999 999 999 999 999 * 9 999 999 999 999.
Note the content of the calculator's "screen". And then press x^2
until FoxCalc returns an error: it doesn't seem to check overflow.

I got this error message on Windows Millennium's DOS window :

                     ¦                                    ¦
                     ¦  +------------------------------+  ¦
                     ¦  ¦Exiting due to signal SIGSEGV000 000 000 000 000 000 00
General Protection Fault at eip=00017e9a0 000 000 000 000 000 000 000 000 000 00
eax=00000101 ebx=674ec804 ecx=00000101 edx=01793d97 esi=01793e70 edi=30303030
ebp=01793d9c esp=01793b14 program=C:\WINDOWS\BUREAU\FOXCALC\FOXCALC.EXE
cs: sel=00af  base=86452000  limit=03fd9fff               ¦
ds: sel=00b7  base=86452000  limit=03fd9fff      M-  AC   ¦
es: sel=00b7  base=86452000  limit=03fd9fff               ¦
fs: sel=00bf  base=00000000  limit=0010ffff      MR  C    ¦
gs: sel=00bf  base=00000000  limit=0010ffff               ¦
ss: sel=00b7  base=86452000  limit=03fd9fff      MC      ¦
App stack: [01794000..01714000]  Exceptn stack: [0002583c..000238fc]
                     ¦   MOD    0     .         +/-  ?    ¦
Call frame traceback EIPs:                                ¦
  0x00017e9a         +------------------------------------+

> Please give your opinions!

Done :) FDCalc sounds nice and has less than 8 letters.

PS: If the author of FDRC reads this message, please note that I
didn't forgot the translation. You'll receive the file soon. Sorry for
the delay.

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Freedos-user mailing list

Reply via email to