Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.txt | 2011-03-02 | 2.7 kB | |
IntCalc.html | 2011-03-02 | 12.7 kB | |
ArithL.txt | 2011-03-02 | 7.3 kB | |
Totals: 3 Items | 22.6 kB | 0 |
Contact: Howard_Cary_Morris@hotmail.com project page: https://sourceforge.net/projects/onlinelargeint Source html: IntCalc.html Javascript: ArithL.txt General Description: Basic Online Integer Calculator Integer size - no limit except for memory machine can handle Arithmetic functions: + Add - Subtract * Multiply / divide mod (modular arithmetic) same as divide but gives remainder not quotient +- If last value in stack is a number (vesus an operation), the sugn is flipped ( Open parenthises ) close last parenthesis = finish current calculation (closes all prenthesis and may may some other defaults) Calculator functions: RM Recall memory - may place in "Enter Integer" textarea SM Save memory - saves last number entered/calculated - you may give memory value a name Warning: Will replace value if memory name already used Warning: avoid characters < (less than), \ (back slash), and & (amper sign) Warning: If a partial calculation has been done, that will be current number calculated CM Clear Memory - Drops all memory names and values CE Clear entry - removes last item in stack, may be a number of arithmetic function Note: You can see what is currently in stack CS Clear stack - puts program back to initial state except for memory Installation: On personal PC: copy Source html and Javascript into same folder - open (double-click) source html to start On Server site: Same as above however may wish to rename IntCalc.html to index.html for stand alone application Oddities, may change: The integer process just the digits 0 through 9 and a minus sign, '-' or '(', and ignores rest minus sign may be anywhere in number, forces sign to negative unless value is zero If you press an operation, exept parenthises, twice in a row the program reuses last number calcualted If you press "process integer" twice in a row the program reuses last operation (+ - * /) pressed default is + add when program begins and after clear stack Future plans: 1) May add square or cube button, adding raise to a large power is just asking for trouble For now pressing * , multiply, twice in a row can square the last number in the stack 2) If the user entered an integer, but pressed an operation instead of 'process integer', may fetch the unprocessed integer instead of using last number entered/calculated 3) May want to intercept pressed keys and intepret some of them as if pressed operation i.e., pressing the + key may act same as pressing the + Add button However, the '-' and '(' keys would force program to change entering negative numbers