Arbitrary-Precision Integer Calculator

A free precision calculator for your Mac
Download

Arbitrary-Precision Integer Calculator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Rod Howell
  • Publisher web site:
  • http://people.cis.ksu.edu/~rhowell/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 51 KB

Arbitrary-Precision Integer Calculator Tags


Arbitrary-Precision Integer Calculator Description

A free precision calculator for your Mac Arbitrary-Precision Integer Calculator is a free computational, stack-based calculator with operations taking their arguments from the top of the stack and replacing them with their results. The value in the display is always the value at the top of the stack. The size of the stack is bounded only by the available memory. Operations may be entered only by pressing a button other than a digit or by selecting a different value in the "Base" menu. Entering an operation terminates the entry of any data to be used for that (or a subsequent) operation. Thus, whatever is in the display at the time the operation is entered is at the top of the stack if and when the operation attempts to acquire data from the stack. If a single "-" has been entered, or if digits have been entered but subsequently deleted, the value at the top of the stack is taken to be 0. If the operation requires more operands than are present on the stack, a "Stack Underflow" error occurs. Note that an empty display may indicate one of two possibilities: either the stack is empty (as occurs initially or after a "CS" operation has been performed) or data has been entered and deleted, resulting in a 0.Individual operations are as follows:· Base menu - Selecting a new value causes any data in the display to be converted to the new base. If the stack is empty, no error is reported. In either case, subsequent data are interpreted in this new base.· CS - Empties the stack, including the display.· Up - Navigates up the stack by removing the bottom element and placing it on top, so that it appears in the display.· Down - Navigates down the stack by removing the top element and placing it on the bottom.· Rem - Divides the second element by the top element and replaces them by the remainder of the division.· x^y - Raises the second element to the power of the top element and replaces them by the result.· 2^x - Raises 2 to the power of the top element and replaces that element by the result.· 10^x - Raises 10 to the power of the top element and replaces that element by the result.· / - Divides the second element by the top element and replaces them by the result of the division.· - Multiplies the top two elements and replaces them by the result.· - - Subtracts the top element from the second element and replaces them by the result.· + - Adds the top two elements and replaces them by the result.· +/- - Replaces the top element by its negation.· Pop - Removes the top element.· Enter - If nothing has been input since the completion of the last operation, a copy of the top element is placed on the top of the stack; otherwise, the input is simply terminated (to facilitate entry of a new data item). Requirements: · Java 1.3 or later


Arbitrary-Precision Integer Calculator Related Software