Test Drive

On this page you can test drive some of the new features that I am currently working on. Feel free to leave a comment if you have any thoughts on how the calculator could be improved.

Warning: This version of the calculator is for testing purposes only! It may have bugs and may return false results. If you want to get reliable results, please use the calculator on the main page, which has been thoroughly tested.

no flash

New in this version

The script that powers the new calculator has been completely rewritten. This was necessary in order to make future additions to the functionality easier to implement.

Layout

The layout has been slightly changed to accommodate a larger output field with larger numbers.

History bar

One addition to the functionality is the Not-Necessarily-Awesome-But-Nonetheless-Useful-History-Bar. You can use it to jump to a previous step in your calculation by clicking on the history bar and selecting the last entry (number or function) that you would like to keep in your calculation.

% Button

Another new feature is the % button. It is not so much an operator as a shorthand notation. With it, you can make calculations like:

50 + 5% (which will return 52.5)

- or -

(20 + 30) + (1 + 4)% (which will also return 52.5)

- or -

2500[square root] + 25[square root]% (which will also return 52.5)

How it works: after pressing the % symbol, the calculator looks for two "terms" separated by an operator that takes two values (like +, -, etc.) directly preceding the % symbol. Any operator that takes two values will work. If x is the first term and y the second term, then at that point the calculator computes y % of x. After pressing [equals] it then does with the computed value whatever is designated by the separating operator. A term is any of the following three:

  • a number; for example: 5
  • a value enclosed by brackets; for example: (17 - 6 * 2)
  • a number or a value enclosed by brackets, followed by one or more operators that take one value; for example: (17 - 6 * 2)sin log

The [equals] button

In this version, after clicking the [equals] button, the entry of a number will start a new caclulation instead of modifying the result.

Known issues

  • Error reporting and keyboard input are not yet implemented.
  • The numbers and settings you might have saved on the main page are not visible, because this version of the calculator uses a different location to save your numbers and settings. This is a precautionary measure in case the saving routine has a bug which might corrupt your saved numbers.

Leave a Reply


© Calculator Tab 2008