This is version Unusable-3 of the Genius Calculator

It's actually getting usable. Though it's somewhat like a preview release ...

here's what doesn't work: (this is hardly the whole TODO list:)

1)no keyboard bindings for = ... so type in the expression and press the =
button
2)no scientific panel (there are no scientific functions yet)
3)there is only a VERY simple makefile, no autoconf!
4)only integer exponantiation is implemented ... I'm looking for a way
  to easily do it on floats and rationals (with rationals I could use
  newtons method plus theinteger stuff I got but that could deal with too
  large numbers even for a small result)

what's new since unusable-2:
	- integer exponantiation, meaning you can do <whatever>^<integer>
	- the display box now stretches out to make use of free space in
	  the window
	- characters from the numpad now properly insert themselves
	- a bit of code cleanup
	- automaic conversion of floats to integers can be turned off since
	  it can make less precise numbers look precise
	- you can also turn off exact answers and get answers to a certain
	  precision (10 digits), or get the whole enchilada (sometimes
	  the listbox will crash for very large integers)

what's new since unusable-1:
	- floats are now formatted and output ok.
	- options frame for swiching between notations
	- negative numbers are handled by lexer so that they work in
	  postfix and prefix, this broke parser for infix, so turn off
	  negative functions for infix and use the unary minus operator
	  instead (same result)
	- factorial added (only for ints :)
	- it will now convert to int whenever possible even inside
	  calculations
	- parser.c renamed to calc.c since it didn't makes sense
	- GUI changed a bit
	- negation function is now functional it is ~ now ... but -
	  can also be used in infix, but not in postfix or prefix
	  since that would be ambiguous though you can still write
	  a negative number in any notation
	- division now works, it will make a rational number from integers
	  but will do a division for floats or rationals (rationals make
	  precise divisions)
	- it can now display unevaluated parts of equation when an error
	  occurs or a part just can't be evaluated (such as division by
	  zero)
	- results are now put on the display list in the GUI.

NOTE: GMP sefaults on some very large numbers so factorials of large numbers
willd o this ... I'll try to catch those before they happen, but I don't
see this as a high priority ... the listbox will segfault anyway on such
numbers :)

it's under GPL so read COPYING

George <jirka@5z.com>
