This applet is based on one of the first pieces of Java code I downloaded from the net.
It was originally written by Nigel Gamble under the name HexCalc
, and didn't have two memories,
square root, or binary or octal modes at first (I think). Those were extensions I put in. I also changed
it to use the BigInteger class in order to gain arbitrary precision - the display can be scrolled
to view large numbers. The square root algorithm is taken from a
post by John Bruner
The class also runs as an application; that's why there's an Off
would cause it to quit. In this applet it'll just cause a security exception.
The source code