Next: Functions Menu, Up: Keypad Mode [Contents][Index]
|----+----+--Calc---+----+----1 |FLR |CEIL|RND |TRNC|CLN2|FLT | |----+----+----+----+----+----| | LN |EXP | |ABS |IDIV|MOD | |----+----+----+----+----+----| |SIN |COS |TAN |SQRT|y^x |1/x | |----+----+----+----+----+----| | ENTER |+/- |EEX |UNDO| <- | |-----+---+-+--+--+-+---++----| | INV | 7 | 8 | 9 | / | |-----+-----+-----+-----+-----| | HYP | 4 | 5 | 6 | * | |-----+-----+-----+-----+-----| |EXEC | 1 | 2 | 3 | - | |-----+-----+-----+-----+-----| | OFF | 0 | . | PI | + | |-----+-----+-----+-----+-----+
This is the menu that appears the first time you start Keypad mode. It will show up in a vertical window on the right side of your screen. Above this menu is the traditional Calc stack display. On a 24-line screen you will be able to see the top three stack entries.
The ten digit keys, decimal point, and EEX key are used for entering numbers in the obvious way. EEX begins entry of an exponent in scientific notation. Just as with regular Calc, the number is pushed onto the stack as soon as you press ENTER or any other function key.
The +/- key corresponds to normal Calc’s n key. During numeric entry it changes the sign of the number or of the exponent. At other times it changes the sign of the number on the top of the stack.
The INV and HYP keys modify other keys. As well as having the effects described elsewhere in this manual, Keypad mode defines several other “inverse” operations. These are described below and in the following sections.
The ENTER key finishes the current numeric entry, or otherwise duplicates the top entry on the stack.
The UNDO key undoes the most recent Calc operation. INV UNDO is the “redo” command, and HYP UNDO is “last arguments” (M-RET).
The <- key acts as a “backspace” during numeric entry. At other times it removes the top stack entry. INV <- clears the entire stack. HYP <- takes an integer from the stack, then removes that many additional stack elements.
The EXEC key prompts you to enter any keystroke sequence that would normally work in Calc mode. This can include a numeric prefix if you wish. It is also possible simply to switch into the Calc window and type commands in it; there is nothing “magic” about this window when Keypad mode is active.
The other keys in this display perform their obvious calculator functions. CLN2 rounds the top-of-stack by temporarily reducing the precision by 2 digits. FLT converts an integer or fraction on the top of the stack to floating-point.
The INV and HYP keys combined with several of these keys give you access to some common functions even if the appropriate menu is not displayed. Obviously you don’t need to learn these keys unless you find yourself wasting time switching among the menus.
is the same as 1/x.
is the same as SQRT.
is the same as CONJ.
is the same as y^x.
is the same as INV y^x (the ‘x’th root of ‘y’).
are the same as SIN / INV SIN.
are the same as COS / INV COS.
are the same as TAN / INV TAN.
are the same as LN / HYP LN.
are the same as EXP / HYP EXP.
is the same as ABS.
is the same as RND (calc-round
).
is the same as CLN2.
is the same as FLT (calc-float
).
is the same as IMAG.
is the same as PREC.
is the same as SWAP.
is the same as RLL3.
is the same as OVER.
packs the top two stack entries as an error form.
packs the top two stack entries as a modulo form.
creates an interval form; this removes an integer which is one of 0 ‘[]’, 1 ‘[)’, 2 ‘(]’ or 3 ‘()’, followed by the two limits of the interval.
The OFF key turns Calc off; typing C-x * k or C-x * *
again has the same effect. This is analogous to typing q or
hitting C-x * c again in the normal calculator. If Calc is
running standalone (the full-calc-keypad
command appeared in the
command line that started Emacs), then OFF is replaced with
EXIT; clicking on this actually exits Emacs itself.
Next: Functions Menu, Up: Keypad Mode [Contents][Index]