?
Current Path : /usr/share/emacs/24.3/lisp/calc/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/calc/calc.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:47 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calc/calc.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313& \210\314\315\316\317\312\303\320\321&\210\314\322\323\324\312\303\320\325&\210\314\326\327\330\312\303\320\331&\210\314\332\333\334\312\303\320\335&\210\314\336\337\340\312\303\320\341&\210\314\342\343\344\312\303\320\345&\210\314\346\304\347\312\303\320\350&\210\314\351\352\353\312\303\320\354&\210\314\355\304\356\312\303\320\357&\210\314\360\361\362\312\303\320\363&\210\314\364\365\366\312\303\320\367&\210\314\370\371\372\312\303\320\373&\210\314\374\375\376\312\303\320\377&\210\314\201@ \375\201A \312\303\320\201B &\210\314\201C \304\201D \312\303\320\201E &\210\314\201F \201G \201H \312\303\320\201I &\210\314\201J \201K \201L \312\303\320\201M &\210\314\201N \201O \201P \312\303\320\201Q &\210\314\201R \201S \201T \312\303\320\201U &\210\314\201V \304\201W \312\303\320\201X &\210\314\201Y \201Z \201[ \312\303\320\201\\ &\210\314\201] \201^ \201_ \312\303\320\201` &\210\314\201a \304\201b \312\303\201c \201d \320\201` & \210\314\201e \201f \201g \312\303\320\201h &\210\314\201i \304\201j \201c \201k \312\303\320\201` & \210\314\201l \201m \201n \201c \201k \312\303\320\201o & \210\314\201p \201q \201r \201c \201k \312\303\320\201s & \210\314\201t \201u \201v \201c \201k \320\201w \312\303& \210\201x \201y \201z \201{ \312\303%\210\201x \201| \201} \201~ \312\303%\207" [require calc-macs custom-declare-group calc nil "Advanced desk calculator and mathematical tool." :prefix "calc-" :tag "Calc" :group applications custom-declare-variable calc-settings-file (locate-user-emacs-file "calc.el" ".calc.el") "File in which to record permanent settings." :type (file) calc-language-alist '((latex-mode . latex) (tex-mode . tex) (plain-tex-mode . tex) (context-mode . tex) (nroff-mode . eqn) (pascal-mode . pascal) (c-mode . c) (c++-mode . c) (fortran-mode . fortran) (f90-mode . fortran) (texinfo-mode . calc-normal-language)) "Alist of major modes with appropriate Calc languages." (alist :key-type (symbol :tag "Major mode") :value-type (symbol :tag "Calc language")) calc-embedded-announce-formula "%Embed\n\\(% .*\n\\)*" "A regular expression which is sure to be followed by a calc-embedded formula." (regexp) calc-embedded-announce-formula-alist '((c++-mode . "//Embed\n\\(// .*\n\\)*") (c-mode . "/\\*Embed\\*/\n\\(/\\* .*\\*/\n\\)*") (f90-mode . "!Embed\n\\(! .*\n\\)*") (fortran-mode . "C Embed\n\\(C .*\n\\)*") (html-helper-mode . "<!-- Embed -->\n\\(<!-- .* -->\n\\)*") (html-mode . "<!-- Embed -->\n\\(<!-- .* -->\n\\)*") (nroff-mode . "\\\\\"Embed\n\\(\\\\\" .*\n\\)*") (pascal-mode . "{Embed}\n\\({.*}\n\\)*") (sgml-mode . "<!-- Embed -->\n\\(<!-- .* -->\n\\)*") (xml-mode . "<!-- Embed -->\n\\(<!-- .* -->\n\\)*") (texinfo-mode . "@c Embed\n\\(@c .*\n\\)*")) "Alist of major modes with appropriate values for `calc-embedded-announce-formula'." (alist :key-type (symbol :tag "Major mode") :value-type (regexp :tag "Regexp to announce formula")) calc-embedded-open-formula "\\`\\|^\n\\|\\$\\$?\\|\\\\\\[\\|^\\\\begin[^{].*\n\\|^\\\\begin{.*[^x]}.*\n\\|^@.*\n\\|^\\.EQ.*\n\\|\\\\(\\|^%\n\\|^\\.\\\\\"\n" "A regular expression for the opening delimiter of a formula used by calc-embedded." (regexp) calc-embedded-close-formula "\\'\\|\n$\\|\\$\\$?\\|\\\\]\\|^\\\\end[^{].*\n\\|^\\\\end{.*[^x]}.*\n\\|^@.*\n\\|^\\.EN.*\n\\|\\\\)\\|\n%\n\\|^\\.\\\\\"\n" "A regular expression for the closing delimiter of a formula used by calc-embedded." (regexp) calc-embedded-open-close-formula-alist "Alist of major modes with pairs of formula delimiters used by calc-embedded." (alist :key-type (symbol :tag "Major mode") :value-type (list (regexp :tag "Opening formula delimiter") (regexp :tag "Closing formula delimiter"))) calc-embedded-word-regexp "[-+]?[0-9]+\\(\\.[0-9]+\\)?\\([eE][-+]?[0-9]+\\)?" "A regular expression determining a word for calc-embedded-word." (regexp) calc-embedded-word-regexp-alist "Alist of major modes with word regexps used by calc-embedded-word." (alist :key-type (symbol :tag "Major mode") :value-type (regexp :tag "Regexp for word")) calc-embedded-open-plain "%%% " "A string which is the opening delimiter for a \"plain\" formula.\nIf calc-show-plain mode is enabled, this is inserted at the front of\neach formula." (string) calc-embedded-close-plain " %%%\n" "A string which is the closing delimiter for a \"plain\" formula.\nSee calc-embedded-open-plain." (string) calc-embedded-open-close-plain-alist '((c++-mode "// %% " " %%\n") (c-mode "/* %% " " %% */\n") (f90-mode "! %% " " %%\n") (fortran-mode "C %% " " %%\n") (html-helper-mode "<!-- %% " " %% -->\n") (html-mode "<!-- %% " " %% -->\n") (nroff-mode "\\\" %% " " %%\n") (pascal-mode "{%% " " %%}\n") (sgml-mode "<!-- %% " " %% -->\n") (xml-mode "<!-- %% " " %% -->\n") (texinfo-mode "@c %% " " %%\n")) "Alist of major modes with pairs of delimiters for \"plain\" formulas." (alist :key-type (symbol :tag "Major mode") :value-type (list (string :tag "Opening \"plain\" delimiter") (string :tag "Closing \"plain\" delimiter"))) calc-embedded-open-new-formula "\n\n" "A string which is inserted at front of formula by calc-embedded-new-formula." (string) calc-embedded-close-new-formula "A string which is inserted at end of formula by calc-embedded-new-formula." (string) calc-embedded-open-close-new-formula-alist "Alist of major modes with pairs of new formula delimiters used by calc-embedded." (alist :key-type (symbol :tag "Major mode") :value-type (list (string :tag "Opening new formula delimiter") (string :tag "Closing new formula delimiter"))) calc-embedded-open-mode "% " "A string which should precede calc-embedded mode annotations.\nThis is not required to be present for user-written mode annotations." (string) calc-embedded-close-mode "\n" "A string which should follow calc-embedded mode annotations.\nThis is not required to be present for user-written mode annotations." (string) calc-embedded-open-close-mode-alist '((c++-mode "// " "\n") (c-mode "/* " " */\n") (f90-mode "! " "\n") (fortran-mode "C " "\n") (html-helper-mode "<!-- " " -->\n") (html-mode "<!-- " " -->\n") (nroff-mode "\\\" " "\n") (pascal-mode "{ " " }\n") (sgml-mode "<!-- " " -->\n") (xml-mode "<!-- " " -->\n") (texinfo-mode "@c " "\n")) "Alist of major modes with pairs of strings to delimit annotations." (alist :key-type (symbol :tag "Major mode") :value-type (list (string :tag "Opening annotation delimiter") (string :tag "Closing annotation delimiter"))) calc-gnuplot-name (if (eq system-type 'windows-nt) "pgnuplot" "gnuplot") "Name of GNUPLOT program, for calc-graph features." (string) calc-gnuplot-plot-command "Name of command for displaying GNUPLOT output; %s = file name to print." (choice (string) (sexp)) calc-gnuplot-print-command "lp %s" "Name of command for printing GNUPLOT output; %s = file name to print." (choice (string) (sexp)) calc-multiplication-has-precedence t "If non-nil, multiplication has precedence over division\nin normal mode." boolean calc-ensure-consistent-units "If non-nil, make sure new units are consistent with current units\nwhen converting units." :version "24.3" calc-undo-length 100 "The number of undo steps that will be preserved when Calc is quit." integer calc-highlight-selections-with-faces "If non-nil, use a separate face to indicate selected sub-formulas.\nIf `calc-show-selections' is non-nil, then selected sub-formulas are shown\nby displaying the rest of the formula in `calc-nonselected-face'.\nIf `calc-show-selections' is nil, then selected sub-formulas are shown\nby displaying the sub-formula in `calc-selected-face'." "24.1" calc-lu-field-reference "20 uPa" "The default reference level for logarithmic units (field)." (string) calc-lu-power-reference "mW" "The default reference level for logarithmic units (power)." (string) calc-note-threshold "1" "The number of cents that a frequency should be near a note\nto be identified as that note." string custom-declare-face calc-nonselected-face ((t :inherit shadow :slant italic)) "Face used to show the non-selected portion of a formula." calc-selected-face ((t :weight bold)) "Face used to show the selected portion of a formula."] 10) #@66 Address of the maintainer of Calc, for use by `report-calc-bug'. (defvar calc-bug-address "jay.p.belanger@gmail.com" (#$ . 8696)) #@94 If t, scan keymaps to find all DEL-like keys. if nil, only DEL itself is mapped to calc-pop. (defvar calc-scan-for-dels t (#$ . 8832)) #@89 Calculator stack. Entries are 3-lists: Formula, Height (in lines), Selection (or nil). (defvar calc-stack '((top-of-stack 1 nil)) (#$ . 8973)) #@98 Index into `calc-stack' of "top" of stack. This is 1 unless `calc-truncate-stack' has been used. (defvar calc-stack-top 1 (#$ . 9123)) #@141 Floating-point numbers with this positive exponent or higher above the current precision are displayed in scientific notation in calc-mode. (defvar calc-display-sci-high 0 (#$ . 9265)) #@109 Floating-point numbers with this negative exponent or lower are displayed scientific notation in calc-mode. (defvar calc-display-sci-low -3 (#$ . 9457)) #@65 List of used-defined strings to append to Calculator mode line. (defvar calc-other-modes nil (#$ . 9616)) #@36 List of strings for Y prefix help. (defvar calc-Y-help-msgs nil (#$ . 9728)) #@48 t if `calc-settings-file' has been loaded yet. (defvar calc-loaded-settings-file nil (#$ . 9811)) #@49 List of variables used in customizing GNU Calc. (defvar calc-mode-var-list nil (#$ . 9915)) #@135 Declare VAR as a Calc variable, with default value DEFVAL and doc-string DOC. The variable VAR will be added to `calc-mode-var-list'. (defalias 'defcalcmodevar '(macro . #[(var defval &optional doc) "\303\304 \nF\305\306\307\310D EEE\207" [var defval doc progn defvar add-to-list 'calc-mode-var-list list quote] 7 (#$ . 10014)])) #@70 Restore the default values of the variables in `calc-mode-var-list'. (defalias 'calc-mode-var-list-restore-default-values #[nil "\301\302\"\207" [calc-mode-var-list mapcar #[(v) "@A@L\207" [v] 2]] 3 (#$ . 10352)]) #@73 Restore the user-saved values of the variables in `calc-mode-var-list'. (defalias 'calc-mode-var-list-restore-saved-values #[nil "\306\212\306\307 !\310\n!\203X \311\n!q\203X eb\203X \312\313\306\314#\203X \315y\210`\312\316\306\314#\203X \317 \210\320 \210\321`\"\210\f\211\203W @\211@@JDB) A\211\204A )+\203d \322\323\"\202f \320 )\207" [newvarlist calc-settings-file file pos calc-mode-var-list varlist nil substitute-in-file-name file-regular-p find-file-noselect search-forward ";;; Mode settings stored by Calc" t 1 "\n;;; End of mode settings" beginning-of-line calc-mode-var-list-restore-default-values eval-region mapcar #[(v) "@A@L\207" [v] 2] var] 5 (#$ . 10575)]) #@73 If non-nil, load the calc-ext module automatically when Calc is loaded. (defvar calc-always-load-extensions nil (#$ . 11275)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-always-load-extensions nil] 4) #@55 If non-nil, display line numbers in Calculator stack. (defvar calc-line-numbering t (#$ . 11512)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-line-numbering t] 4) #@74 If non-nil, break long values across multiple lines in Calculator stack. (defvar calc-line-breaking t (#$ . 11711)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-line-breaking t] 4) #@128 If nil, stack display is left-justified. If `right', stack display is right-justified. If `center', stack display is centered. (defvar calc-display-just nil (#$ . 11928)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-display-just nil] 4) #@233 Horizontal origin of displayed stack entries. In left-justified mode, this is effectively indentation. (Default 0). In right-justified mode, this is effectively window width. In centered mode, center of stack entry is placed here. (defvar calc-display-origin nil (#$ . 12201)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-display-origin nil] 4) #@60 Radix for entry and display of numbers in calc-mode, 2-36. (defvar calc-number-radix 10 (#$ . 12582)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-number-radix 10] 4) #@75 If non-nil, leading zeros are provided to pad integers to calc-word-size. (defvar calc-leading-zeros nil (#$ . 12784)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-leading-zeros nil] 4) #@169 If non-nil, group digits in large displayed integers by inserting spaces. If an integer, group that many digits at a time. If t, use 4 for binary and hex, 3 otherwise. (defvar calc-group-digits nil (#$ . 13006)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-group-digits nil] 4) #@126 The character (in the form of a string) to be used for grouping digits. This is used only when calc-group-digits mode is on. (defvar calc-group-char "," (#$ . 13320)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-group-char ","] 4) #@72 The character (in the form of a string) to be used as a decimal point. (defvar calc-point-char "." (#$ . 13586)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-point-char "."] 4) #@70 Format of displayed fractions; a string of one or two of ":" or "/". (defvar calc-frac-format '(":" nil) (#$ . 13798)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-frac-format (":" nil)] 4) #@60 If non-nil, prefer fractional over floating-point results. (defvar calc-prefer-frac nil (#$ . 14023)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-prefer-frac nil] 4) #@145 Format of displayed hours-minutes-seconds angles, a format string. String must contain three %s marks for hours, minutes, seconds respectively. (defvar calc-hms-format "%s@ %s' %s\"" (#$ . 14226)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-hms-format "%s@ %s' %s\""] 4) #@33 Format of displayed date forms. (defvar calc-date-format '((H ":" mm C SS pp " ") Www " " Mmm " " D ", " YYYY) (#$ . 14533)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-date-format ((H ":" mm C SS pp " ") Www " " Mmm " " D ", " YYYY)] 4) #@794 Format to use for display of floating-point numbers in calc-mode. Must be a list of one of the following forms: (float 0) Floating point format, display full precision. (float N) N > 0: Floating point format, at most N significant figures. (float -N) -N < 0: Floating point format, calc-internal-prec - N figs. (fix N) N >= 0: Fixed point format, N places after decimal point. (sci 0) Scientific notation, full precision. (sci N) N > 0: Scientific notation, N significant figures. (sci -N) -N < 0: Scientific notation, calc-internal-prec - N figs. (eng 0) Engineering notation, full precision. (eng N) N > 0: Engineering notation, N significant figures. (eng -N) -N < 0: Engineering notation, calc-internal-prec - N figs. (defvar calc-float-format '(float 0) (#$ . 14808)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-float-format (float 0)] 4) #@54 Format to use when full precision must be displayed. (defvar calc-full-float-format '(float 0) (#$ . 15759)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-full-float-format (float 0)] 4) #@179 Format to use for display of complex numbers in calc-mode. Must be one of: nil Use (x, y) form. i Use x + yi form. j Use x + yj form. (defvar calc-complex-format nil (#$ . 15981)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-complex-format nil] 4) #@64 Preferred form, either `cplx' or `polar', for complex numbers. (defvar calc-complex-mode 'cplx (#$ . 16308)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-complex-mode cplx] 4) #@159 If nil, 1 / 0 is left unsimplified. If 0, 1 / 0 is changed to inf (zeros are considered positive). Otherwise, 1 / 0 is changed to uinf (undirected infinity). (defvar calc-infinite-mode nil (#$ . 16520)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-infinite-mode nil] 4) #@64 If non-nil, display vectors of byte-sized integers as strings. (defvar calc-display-strings nil (#$ . 16825)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-display-strings nil] 4) #@137 If nil, vector elements are left-justified. If `right', vector elements are right-justified. If `center', vector elements are centered. (defvar calc-matrix-just 'center (#$ . 17040)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-matrix-just center] 4) #@51 If non-nil, display vectors one element per line. (defvar calc-break-vectors nil (#$ . 17326)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-break-vectors nil] 4) #@74 If non-nil, display long vectors in full. If nil, use abbreviated form. (defvar calc-full-vectors t (#$ . 17523)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-full-vectors t] 4) #@56 If non-nil, display long vectors in full in the trail. (defvar calc-full-trail-vectors t (#$ . 17737)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-full-trail-vectors t] 4) #@70 If non-nil, separate elements of displayed vectors with this string. (defvar calc-vector-commas "," (#$ . 17945)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-vector-commas ","] 4) #@63 If non-nil, surround displayed vectors with these characters. (defvar calc-vector-brackets "[]" (#$ . 18161)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-vector-brackets "[]"] 4) #@259 A list of code-letter symbols that control "big" matrix display. If `R' is present, display inner brackets for matrices. If `O' is present, display outer brackets for matrices (above/below). If `C' is present, display outer brackets for matrices (centered). (defvar calc-matrix-brackets '(R O) (#$ . 18377)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-matrix-brackets (R O)] 4) #@651 Language or format for entry and display of stack values. Must be one of: nil Use standard Calc notation. flat Use standard Calc notation, one-line format. big Display formulas in 2-d notation (enter w/std notation). unform Use unformatted display: add(a, mul(b,c)). c Use C language notation. pascal Use Pascal language notation. fortran Use Fortran language notation. tex Use TeX notation. latex Use LaTeX notation. eqn Use eqn notation. yacas Use Yacas notation. maxima Use Maxima notation. giac Use Giac notation. math Use Mathematica(tm) notation. maple Use Maple notation. (defvar calc-language nil (#$ . 18792)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-language nil] 4) #@67 Numeric prefix argument for the command that set `calc-language'. (defvar calc-language-option nil (#$ . 19579)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-language-option nil] 4) #@38 Label to display at left of formula. (defvar calc-left-label "" (#$ . 19796)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-left-label ""] 4) #@39 Label to display at right of formula. (defvar calc-right-label "" (#$ . 19972)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-right-label ""] 4) #@78 Minimum number of bits per word, if any, for binary operations in calc-mode. (defvar calc-word-size 32 (#$ . 20151)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-word-size 32] 4) #@49 Most recently used value of M in a modulo form. (defvar calc-previous-modulo nil (#$ . 20365)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-previous-modulo nil] 4) #@405 Type of simplification applied to results. If `none', results are not simplified when pushed on the stack. If `num', functions are simplified only when args are constant. If nil, only limited simplifications are applied. If `binary', `math-clip' is applied if appropriate. If `alg', `math-simplify' is applied. If `ext', `math-simplify-extended' is applied. If `units', `math-simplify-units' is applied. (defvar calc-simplify-mode 'alg (#$ . 20565)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-simplify-mode alg] 4) #@62 If non-nil, recompute evalto's automatically when necessary. (defvar calc-auto-recompute t (#$ . 21117)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-auto-recompute t] 4) #@67 If non-nil, display shows unformatted Lisp exprs. (For debugging) (defvar calc-display-raw nil (#$ . 21323)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-display-raw nil] 4) #@68 Number of digits of internal precision for calc-mode calculations. (defvar calc-internal-prec 12 (#$ . 21532)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-internal-prec 12] 4) #@110 If deg, angles are in degrees; if rad, angles are in radians. If hms, angles are in degrees-minutes-seconds. (defvar calc-angle-mode 'deg (#$ . 21745)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-angle-mode deg] 4) #@119 If non-nil, numeric entry accepts whole algebraic expressions. If nil, algebraic expressions must be preceded by "'". (defvar calc-algebraic-mode nil (#$ . 21997)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-algebraic-mode nil] 4) #@60 Like calc-algebraic-mode except only affects ( and [ keys. (defvar calc-incomplete-algebraic-mode nil (#$ . 22264)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-incomplete-algebraic-mode nil] 4) #@139 If non-nil, inexact numeric computations like sqrt(2) are postponed. If nil, computations on numbers always yield numbers where possible. (defvar calc-symbolic-mode nil (#$ . 22495)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-symbolic-mode nil] 4) #@319 If `matrix', variables are assumed to be matrix-valued. If a number, variables are assumed to be NxN matrices. If `sqmatrix', variables are assumed to be square matrices of an unspecified size. If `scalar', variables are assumed to be scalar-valued. If nil, symbolic math routines make no assumptions about variables. (defvar calc-matrix-mode nil (#$ . 22781)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-matrix-mode nil] 4) #@56 If non-nil, display integers in two's complement mode. (defvar calc-twos-complement-mode nil (#$ . 23242)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-twos-complement-mode nil] 4) #@78 If non-nil, shifted letter keys are prefix keys rather than normal meanings. (defvar calc-shift-prefix nil (#$ . 23458)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-shift-prefix nil] 4) #@38 Initial height of Calculator window. (defvar calc-window-height 7 (#$ . 23680)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-window-height 7] 4) #@68 If non-nil, M-x calc creates a window to display Calculator trail. (defvar calc-display-trail t (#$ . 23860)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-display-trail t] 4) #@152 If non-nil, selected sub-formulas are shown by obscuring rest of formula. If nil, selected sub-formulas are highlighted by obscuring the sub-formulas. (defvar calc-show-selections t (#$ . 24071)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-show-selections t] 4) #@111 If non-nil, commands operate only on selected portions of formulas. If nil, selections displayed but ignored. (defvar calc-use-selections t (#$ . 24370)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-use-selections t] 4) #@69 If non-nil, selection hides deep structure of associative formulas. (defvar calc-assoc-selections t (#$ . 24625)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-assoc-selections t] 4) #@76 If non-nil, display "Working..." for potentially slow Calculator commands. (defvar calc-display-working-message 'lots (#$ . 24842)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-display-working-message lots] 4) #@75 If non-nil, automatically execute a "why" command to explain odd results. (defvar calc-auto-why 'maybe (#$ . 25087)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-auto-why maybe] 4) #@62 If non-nil, display timing information on each slow command. (defvar calc-timing nil (#$ . 25303)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-timing nil] 4) (defvar calc-mode-save-mode 'local nil) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-mode-save-mode local] 4) (defvar calc-standard-date-formats '("N" "<H:mm:SSpp >Www Mmm D, YYYY" "D Mmm YYYY<, h:mm:SS>" "Www Mmm BD< hh:mm:ss> YYYY" "M/D/Y< H:mm:SSpp>" "D.M.Y< h:mm:SS>" "M-D-Y< H:mm:SSpp>" "D-M-Y< h:mm:SS>" "j<, h:mm:SS>" "YYddd< hh:mm:ss>") nil) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-standard-date-formats ("N" "<H:mm:SSpp >Www Mmm D, YYYY" "D Mmm YYYY<, h:mm:SS>" "Www Mmm BD< hh:mm:ss> YYYY" "M/D/Y< H:mm:SSpp>" "D.M.Y< h:mm:SS>" "M-D-Y< H:mm:SSpp>" "D-M-Y< h:mm:SS>" "j<, h:mm:SS>" "YYddd< hh:mm:ss>")] 4) #@82 If non-nil, automatically set unit prefixes to keep units in a reasonable range. (defvar calc-autorange-units nil (#$ . 26175)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-autorange-units nil] 4) #@50 Non-nil if Calc was last invoked in keypad mode. (defvar calc-was-keypad-mode nil (#$ . 26407)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-was-keypad-mode nil] 4) #@55 Non-nil if Calc was last invoked in full-screen mode. (defvar calc-full-mode nil (#$ . 26607)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-full-mode nil] 4) #@51 Alist of languages with user-defined parse rules. (defvar calc-user-parse-tables nil (#$ . 26800)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-user-parse-tables nil] 4) #@47 The default device name for GNUPLOT plotting. (defvar calc-gnuplot-default-device "default" (#$ . 27005)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-gnuplot-default-device "default"] 4) #@47 The default output file for GNUPLOT plotting. (defvar calc-gnuplot-default-output "STDOUT" (#$ . 27228)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-gnuplot-default-output "STDOUT"] 4) #@47 The default device name for GNUPLOT printing. (defvar calc-gnuplot-print-device "postscript" (#$ . 27449)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-gnuplot-print-device "postscript"] 4) #@42 The default output for GNUPLOT printing. (defvar calc-gnuplot-print-output "auto" (#$ . 27674)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-gnuplot-print-output "auto"] 4) #@46 The default geometry for the GNUPLOT window. (defvar calc-gnuplot-geometry nil (#$ . 27882)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-gnuplot-geometry nil] 4) #@57 The default number of data points when plotting curves. (defvar calc-graph-default-resolution 15 (#$ . 28080)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-graph-default-resolution 15] 4) #@69 The default number of x- and y- data points when plotting surfaces. (defvar calc-graph-default-resolution-3d 5 (#$ . 28303)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-graph-default-resolution-3d 5] 4) #@73 A user defined macro for starting Calc. Used by `calc-user-invocation'. (defvar calc-invocation-macro nil (#$ . 28542)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-invocation-macro nil] 4) #@55 If non-nil, show a friendly greeting above the stack. (defvar calc-show-banner t (#$ . 28767)) (byte-code "\300\301\302\303D\"\207" [add-to-list calc-mode-var-list calc-show-banner t] 4) (defconst calc-local-var-list '(calc-stack calc-stack-top calc-undo-list calc-redo-list calc-always-load-extensions calc-mode-save-mode calc-display-raw calc-line-numbering calc-line-breaking calc-display-just calc-display-origin calc-left-label calc-right-label calc-auto-why calc-algebraic-mode calc-incomplete-algebraic-mode calc-symbolic-mode calc-matrix-mode calc-inverse-flag calc-hyperbolic-flag calc-option-flag calc-keep-args-flag calc-angle-mode calc-number-radix calc-leading-zeros calc-group-digits calc-group-char calc-point-char calc-frac-format calc-prefer-frac calc-hms-format calc-date-format calc-standard-date-formats calc-float-format calc-full-float-format calc-complex-format calc-matrix-just calc-full-vectors calc-full-trail-vectors calc-break-vectors calc-vector-commas calc-vector-brackets calc-matrix-brackets calc-complex-mode calc-infinite-mode calc-display-strings calc-simplify-mode calc-auto-recompute calc-autorange-units calc-show-plain calc-show-selections calc-use-selections calc-assoc-selections calc-word-size calc-internal-prec)) #@35 Hook run when entering calc-mode. (defvar calc-mode-hook nil (#$ . 30030)) #@41 Hook run when entering calc-trail-mode. (defvar calc-trail-mode-hook nil (#$ . 30111)) #@32 Hook run when calc is started. (defvar calc-start-hook nil (#$ . 30204)) #@29 Hook run when calc is quit. (defvar calc-end-hook nil (#$ . 30283)) #@34 Hook run when calc.el is loaded. (defvar calc-load-hook nil (#$ . 30357)) #@40 Hook called to create the Calc window. (defvar calc-window-hook nil (#$ . 30437)) #@46 Hook called to create the Calc trail window. (defvar calc-trail-window-hook nil (#$ . 30525)) #@55 Hook run when starting embedded mode in a new buffer. (defvar calc-embedded-new-buffer-hook nil (#$ . 30625)) #@56 Hook run when starting embedded mode in a new formula. (defvar calc-embedded-new-formula-hook nil (#$ . 30741)) #@39 Hook run when starting embedded mode. (defvar calc-embedded-mode-hook nil (#$ . 30859)) (byte-code "\300\301\302\303#\210\300\304\302\303#\210\300\305\306\307#\210\300\305\310\311#\210\300\312\306\313#\210\300\312\310\314#\210\300\315\306\316#\210\300\315\310\317#\207" [put calc-mode mode-class special calc-trail-mode inexact-result error-conditions (error inexact-result calc-error) error-message "Calc internal error (inexact-result)" math-overflow (error math-overflow calc-error) "Floating-point overflow occurred" math-underflow (error math-underflow calc-error) "Floating-point underflow occurred"] 4) #@38 The "current" entry in trail buffer. (defvar calc-trail-pointer nil (#$ . 31475)) #@36 The value of overlay-arrow-string. (defvar calc-trail-overlay nil (#$ . 31563)) #@43 The list of previous operations for undo. (defvar calc-undo-list nil (#$ . 31649)) #@37 The list of recent undo operations. (defvar calc-redo-list nil (#$ . 31738)) #@33 A pointer to Calculator buffer. (defvar calc-main-buffer nil (#$ . 31821)) #@29 A list of all Calc buffers. (defvar calc-buffer-list nil (#$ . 31902)) #@33 A pointer to Calc Trail buffer. (defvar calc-trail-buffer nil (#$ . 31979)) #@37 Explanations of most recent errors. (defvar calc-why nil (#$ . 32061)) (defvar calc-next-why nil) #@40 If non-nil, next operation is Inverse. (defvar calc-inverse-flag nil (#$ . 32165)) #@43 If non-nil, next operation is Hyperbolic. (defvar calc-hyperbolic-flag nil (#$ . 32254)) #@51 If non-nil, next operation has Optional behavior. (defvar calc-option-flag nil (#$ . 32349)) #@72 If non-nil, next operation should not remove its arguments from stack. (defvar calc-keep-args-flag nil (#$ . 32448)) #@53 Open-parenthesis string for function call notation. (defvar calc-function-open "(" (#$ . 32571)) #@54 Close-parenthesis string for function call notation. (defvar calc-function-close ")" (#$ . 32674)) #@58 Function through which to pass strings after formatting. (defvar calc-language-output-filter nil (#$ . 32779)) #@56 Function through which to pass strings before parsing. (defvar calc-language-input-filter nil (#$ . 32896)) #@51 Formatting function used for non-decimal numbers. (defvar calc-radix-formatter nil (#$ . 33010)) #@66 A list of languages in which / might represent integer division. (defvar calc-lang-slash-idiv nil (#$ . 33113)) #@64 A list of languages which allow underscores in variable names. (defvar calc-lang-allow-underscores nil (#$ . 33231)) #@66 A list of languages which allow percent signs in variable names. (defvar calc-lang-allow-percentsigns nil (#$ . 33354)) #@77 Languages in which octal and hex numbers are written with leading 0 and 0x, (defvar calc-lang-c-type-hex nil (#$ . 33480)) #@58 Languages in which subscripts are indicated by brackets. (defvar calc-lang-brackets-are-subscripts nil (#$ . 33609)) #@61 Languages in which subscripts are indicated by parentheses. (defvar calc-lang-parens-are-subscripts nil (#$ . 33732)) #@38 The last number killed in calc-mode. (defvar calc-last-kill nil (#$ . 33856)) #@28 Values to be used for '$'. (defvar calc-dollar-values nil (#$ . 33940)) #@41 The highest order of '$' that occurred. (defvar calc-dollar-used nil (#$ . 34018)) #@41 The highest order of '#' that occurred. (defvar calc-hashes-used nil (#$ . 34107)) #@35 Previous results from Quick Calc. (defvar calc-quick-prev-results nil (#$ . 34196)) #@52 Non-nil if the welcome message has been displayed. (defvar calc-said-hello nil (#$ . 34286)) #@60 Non-nil if a keyboard macro is executing from the "K" key. (defvar calc-executing-macro nil (#$ . 34385)) #@42 Non-nil if there are selections present. (defvar calc-any-selections nil (#$ . 34497)) #@43 The number of consecutive "?" keystrokes. (defvar calc-help-phase 0 (#$ . 34590)) #@48 Non-nil if `calc-full-help' is being executed. (defvar calc-full-help-flag nil (#$ . 34678)) #@37 The number of `calc-refresh' calls. (defvar calc-refresh-count 0 (#$ . 34777)) #@74 Non-nil if the stack display might not reflect the latest mode settings. (defvar calc-display-dirty nil (#$ . 34862)) (defvar calc-prepared-composition nil) (defvar calc-selection-cache-default-entry nil) #@67 If non-nil, a vector consisting of information for embedded mode. (defvar calc-embedded-info nil (#$ . 35073)) #@60 Alist of buffers with sorted lists of calc-embedded-infos. (defvar calc-embedded-active nil (#$ . 35190)) #@48 Non-nil if Emacs started with standalone Calc. (defvar calc-standalone-flag nil (#$ . 35302)) #@56 User defined rules that Calc will apply automatically. (defvar var-EvalRules nil (#$ . 35402)) (defvar math-eval-rules-cache-tag t) (defvar math-radix-explicit-format t) #@59 Alist of language specific functions with Calc functions. (defvar math-expr-function-mapping nil (#$ . 35578)) #@59 Alist of language specific variables with Calc variables. (defvar math-expr-variable-mapping nil (#$ . 35695)) (defvar math-read-expr-quotes nil) (defvar math-working-step nil) (defvar math-working-step-2 nil) (defvar var-i '(special-const (math-imaginary 1))) (defvar var-pi '(special-const (math-pi))) (defvar var-π '(special-const (math-pi))) (defvar var-e '(special-const (math-e))) (defvar var-phi '(special-const (math-phi))) (defvar var-φ '(special-const (math-phi))) (defvar var-gamma '(special-const (math-gamma-const))) (defvar var-γ '(special-const (math-gamma-const))) (defvar var-Modes '(special-const (math-get-modes-vec))) (mapc #[(v) "\301!\206 \302L\207" [v boundp nil] 2] calc-local-var-list) #@23 The key map for Calc. (defvar calc-mode-map (byte-code "\301 \302\303\"\210\304\305\306#\210\304\307\310#\210\304\311\312#\210\304\313\314#\210\304\315\316#\210\304\317\320#\210\304\321\322#\210\304\323\324#\210\304\325\326#\210\304\327\330#\210\304\331\332#\210\304\333\334#\210\304\335\336#\210\304\337\340#\210\304\341\342#\210\304\343\344#\210\304\345\346#\210\304\347\350#\210\304\351\350#\210\304\352\353#\210\304\354\355#\210\304\356\357#\210\304\360\344#\210\304\361\362#\210\304\363\364#\210\304\365\366#\210\304\367\366#\210\304\370\371#\210\372\373\374\"\210\372\375\376\"\210\304\377\201@ #\210\304\201A \201@ #\210\304\201B \201@ #\210\372\201C \201D \"\210)\207" [map make-keymap suppress-keymap t define-key "+" calc-plus "-" calc-minus "*" calc-times "/" calc-divide "%" calc-mod "&" calc-inv "^" calc-power "\245" calc-percent "e" calcDigit-start "i" calc-info "n" calc-change-sign "q" calc-quit "Y" nil "Y?" calc-shift-Y-prefix-help "?" calc-help " " calc-enter "'" calc-algebraic-entry "$" calc-auto-algebraic-entry "\"" " " calc-roll-down "\211" calc-roll-up "" calc-transpose-lines " " "\215" calc-last-args-stub "\n" calc-over "" calc-yank [mouse-2] [remap undo] calc-undo mapc #[(x) "\302\303 !\304#\207" [map x define-key char-to-string undefined] 4] "lOW" #[(x) "\302\303 !\304#\207" [map x define-key char-to-string calc-missing-key] 4] "ABCDEFGHIJKLMNOPQRSTUVXZabcdfghjkmoprstuvwxyz:\\|!()[]<>{},;=~`" "\367" calc-missing-key "\353" "\227" #[(x) "\302\303 !\304#\207" [map x define-key char-to-string calcDigit-start] 4] "_0123456789.#@"] 4) (#$ . 36418)) #@39 The key map for entering Calc digits. (defvar calc-digit-map (byte-code "\302 \303\304 \"\210\305\306\307\"\210\305\310\311\"\210\312\313\314#\210\312\315\316#\210\312\317\320#\210)\207" [map calc-mode-map make-keymap map-keymap #[(key bind) "\303\304 !\n\305=\203 \305\202 \306#\207" [map key bind define-key vector undefined calcDigit-nondigit] 5] mapc #[(x) "\302\303 !\304#\207" [map x define-key char-to-string calcDigit-key] 4] "_0123456789.e+-:n#@oh'\"mspM" #[(x) "\302\303 !\304#\207" [map x define-key char-to-string calcDigit-letter] 4] "abcdfgijklqrtuvwxyzABCDEFGHIJKLNOPQRSTUVWXYZ" define-key "'" calcDigit-algebraic "`" calcDigit-edit "" abort-recursive-edit] 4) (#$ . 38049)) (byte-code "\302\303\203 \304\305\306 \"\305\307 \"\305\310 \"\311$\202 \312\"\207" [calc-scan-for-dels global-map mapc #[(x) "\300\301\302\217\207" [err (byte-code "\303 \304#\210\303\n \305#\210\303\n \210\306\307 \"\310#\207" [calc-digit-map x calc-mode-map define-key calcDigit-backspace calc-pop vconcat "" calc-pop-above] 5) ((error))] 3] append where-is-internal delete-backward-char backward-delete-char backward-delete-char-untabify ("") ("" "")] 8) #@32 The key map for starting Calc. (defvar calc-dispatch-map (byte-code "\301 \302\303\304\"\210)\207" [map make-keymap mapc #[(x) "@\305 !A\306\f\n#\210\307\310\n\"\203/ \306\f\n\226#\210\307\311\n\"\204/ \306\f\312\313 D!#\210\306\f\314\315 \"#+\207" [x x-chr x-str x-def map char-to-string define-key string-match "[a-z]" "[gmv]" vector control format "%c"] 5] ((97 . calc-embedded-activate) (98 . calc-big-or-small) (99 . calc) (100 . calc-embedded-duplicate) (101 . calc-embedded) (102 . calc-embedded-new-formula) (103 . calc-grab-region) (104 . calc-dispatch-help) (105 . calc-info) (106 . calc-embedded-select) (107 . calc-keypad) (108 . calc-load-everything) (109 . read-kbd-macro) (110 . calc-embedded-next) (111 . calc-other-window) (112 . calc-embedded-previous) (113 . quick-calc) (114 . calc-grab-rectangle) (115 . calc-info-summary) (116 . calc-tutorial) (117 . calc-embedded-update-formula) (119 . calc-embedded-word) (120 . calc-quit) (121 . calc-copy-to-buffer) (122 . calc-user-invocation) (39 . calc-embedded-new-formula) (96 . calc-embedded-edit) (58 . calc-grab-sum-down) (95 . calc-grab-sum-across) (48 . calc-reset) (63 . calc-dispatch-help) (35 . calc-same-interface) (38 . calc-same-interface) (92 . calc-same-interface) (61 . calc-same-interface) (42 . calc-same-interface) (47 . calc-same-interface) (43 . calc-same-interface) (45 . calc-same-interface))] 3) (#$ . 39223)) (load "calc-loaddefs.el" nil t) #@73 Invoke the GNU Emacs Calculator. See `calc-dispatch-help' for details. (defalias 'calc-dispatch #[(&optional arg) "\301\302\303\217\210\304!\207" [arg err (byte-code "\302 \211;\2039 \303\304\"\2049 \305 \"\306=\2049 \303\307\"\2033 \305 \310\311O\"9\2033 \312 \310\311O\313#\210\312 \306#\210)\313\207" [keys calc-dispatch-map this-command-keys string-match "\\`\\|\\`[-0-9#]\\|`[\255\260-\271]" lookup-key calc-same-interface "\\`[ -]" 0 1 define-key nil] 6) ((error)) calc-do-dispatch] 3 (#$ . 40670) "P"]) (defvar calc-dispatch-help nil) #@23 Start the Calculator. (defalias 'calc-do-dispatch #[(arg) "\303\203 \304\202 \305\306\307\310 !\" \"\311 \n\"\312\313!\210\n\2030 \314\n!\204* \315\316!\210\317\n!\2022 \320 )\207" [calc-dispatch-help calc-dispatch-map key calc-read-key-sequence "Calc options: Calc, Keypad, Quick, Embed; eXit; Info, Tutorial; Grab; ?=more" format "%s (Type ? for a list of Calc options)" key-description this-command-keys lookup-key message "" commandp require calc-ext call-interactively beep] 5 (#$ . 41230)]) #@47 Read keys, with prompt PROMPT and keymap MAP. (defalias 'calc-read-key-sequence #[(prompt map) "\306\307\310\311 !\"\312 \313 \314 \204 \315\316\"\210\317\320!\321\322 A!\210\323\216\324!\210\325\321!\210\326\321!.\207" [loc glob prompt2 prompt input-method-function key format "%s " key-description this-command-keys current-global-map current-local-map input-pending-p message "%s" calc-read-key t nil calc-unread-command ((byte-code "\302!\210\303 !\207" [glob loc use-global-map use-local-map] 2)) use-global-map use-local-map read-key-sequence map] 4 (#$ . 41739)]) #@305 Check to see if user wants to kill the Calc stack buffer. This will look for buffers using the Calc buffer for embedded mode, and inform the user if there are any. If the user wants to kill the Calc buffer, this will remove embedded information from the appropriate buffers and tidy up the trail buffer. (defalias 'calc-kill-stack-buffer #[nil "p\306\211 \203+ \f @A@\307H=\203$ \310 @@!\203$ @B A\211\204\f \203} \311\312!\203} \203} r@@q\210 \203o \306@\3138\306\314A@!\210\315\"\211)\316\317 !\210)\320@\"A\211\2049 ?\205\315 \320\f\"\321!\203\311 rq\210\f=\203\310 \203\251 @\202\310 \322!\211 \203\302 \323 @!\210 A\211 \204\263 )\324!\210)\306\325,\207" [calc-embedded-active cea buflist info-list cb calc-embedded-info nil 1 buffer-name yes-or-no-p "This Calc stack is being used for embedded mode. Kill anyway?" 2 use-local-map remq set-buffer-modified-p buffer-modified-p delete buffer-live-p get-buffer-window-list delete-window kill-buffer t calc-embedded-modes mode-line-buffer-identification truncate-lines buffer-read-only calc-override-minor-modes minor-mode-overriding-map-alist str calc-buffer-list calc-trail-buffer calc-main-buffer wl] 5 (#$ . 42328)]) #@1194 Calculator major mode. This is an RPN calculator featuring arbitrary-precision integer, rational, floating-point, complex, matrix, and symbolic arithmetic. RPN calculation: 2 RET 3 + produces 5. Algebraic style: ' 2+3 RET produces 5. Basic operators are +, -, *, /, ^, & (reciprocal), % (modulo), n (change-sign). Press ? repeatedly for more complete help. Press `h i' to read the Calc manual on-line, `h s' to read the summary, or `h t' for the tutorial. Notations: 3.14e6 3.14 * 10^6 _23 negative number -23 (or type `23 n') 17:3 the fraction 17/3 5:2:3 the fraction 5 and 2/3 16#12C the integer 12C base 16 = 300 base 10 8#177:100 the fraction 177:100 base 8 = 127:64 base 10 (2, 4) complex number 2 + 4i (2; 4) polar complex number (r; theta) [1, 2, 3] vector ([[1, 2], [3, 4]] is a matrix) [1 .. 4) semi-open interval, 1 <= x < 4 2 +/- 3 (p key) number with mean 2, standard deviation 3 2 mod 3 (M key) number 2 computed modulo 3 <1 jan 91> Date form (enter using ' key) \{calc-mode-map} (defalias 'calc-mode #[nil "\306\307\"\210\310 \210\311 \312=\203 \313\314!\210\n\202 !\210\306\315\"\210\315\316!\210\315\317!\210\320\321\322\323\324$\210\320\325\326\324\211$\210\324\211\327,\330-\331.\236.>\206Q \331\332\323EC\211.G/\333.G/\334#/0\204{ 1\203{ 12\232\204{ \3240\335\3361!\324\"\2103\2114\203\253 4@\337\232\203\242 \340\3414A@\"\203\242 \340\3424A@\"\203\242 \32454A\2114\204\203 )\313\343!\210\344\345!\210\346\324!\210\347 \210\350 \210+\203\311 \351.!.\352\353p\324#\207" [calc-local-var-list calc-algebraic-mode calc-alg-map calc-mode-map truncate-lines buffer-read-only mapc #[(v) "\301\211J\"\207" [v set-default] 3] kill-all-local-variables use-local-map total require calc-ext make-local-variable overlay-arrow-position overlay-arrow-string add-hook change-major-mode-hook font-lock-defontify nil t kill-buffer-query-functions calc-kill-stack-buffer calc-mode "Calculator" top-of-stack 1 - -1 load file-name-sans-extension "-f" string-match "calc" "full" calc-menu run-mode-hooks calc-mode-hook calc-refresh calc-set-mode-line calc-check-defines copy-sequence add-to-list calc-buffer-list major-mode mode-name calc-stack calc-stack-top calc-loaded-settings-file calc-settings-file user-init-file command-line-args p calc-standalone-flag] 6 (#$ . 43577) nil]) (defvar calc-check-defines 'calc-check-defines) (defalias 'calc-check-defines #[nil "\301\302!\205R \303\301\302!!\211\203 A@\204 AA\211\204 \203M \212\304\305!\210\304\306!\210\307q\210\203G \310\302@\311#\210\312A@!\210AA\211\2042 \313 )\202Q \314\302\311\")\207" [plist symbol-plist calc-define copy-sequence require calc-ext calc-macs "*Calculator*" put nil eval calc-check-defines setplist] 5]) #@353 Calc Trail mode. This mode is used by the *Calc Trail* buffer, which records all results obtained by the GNU Emacs Calculator. Calculator commands beginning with the `t' key are used to manipulate the Trail. This buffer uses the same key map as the *Calculator* buffer; calculator commands given here will actually operate on the *Calculator* stack. (defalias 'calc-trail-mode #[(&optional buf) "\306 \210\307!\210\310\311\312\211\313\314!\210\313\315!\210 \203\"