/> / JavaScript Physics Computer --- J.P. Vigneron > />
The most recent elements are entered in the x register, which lies at the bottom of the stack. New elements are entered there, pushing up the entire stack.
If the stack overflows to 10 numbers, the oldest element is lost.
| digits 0,1,2...9 |
used to enter mantissa and exponent figures |
| < | used to delete the last character entered |
| . | The decimal point (.) used in the mantissa |
| E and E- | used to start writing the exponent (E for positive exponents, E- for negative exponents) |
| +/- | changes the sign of the floating-point number in x |
| Enter | stops the editing of x register and pushes the stack up, so that the x register is free to receive a new floating-point number |
| drop | removes the content of the x register, and pulls the stack down |