?
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-arith.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:42 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calc/calc-arith.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\207" [require calc-ext calc-macs] 2) (defvar math-scalar-functions '(calcFunc-det calcFunc-cnorm calcFunc-rnorm calcFunc-vlen calcFunc-vcount calcFunc-vsum calcFunc-vprod calcFunc-vmin calcFunc-vmax)) (defvar math-nonscalar-functions '(vec calcFunc-idn calcFunc-diag calcFunc-cvec calcFunc-index calcFunc-trn | calcFunc-append calcFunc-cons calcFunc-rcons calcFunc-tail calcFunc-rhead)) (defvar math-scalar-if-args-functions '(+ - * / neg)) (defvar math-real-functions '(calcFunc-arg calcFunc-re calcFunc-im calcFunc-floor calcFunc-ceil calcFunc-trunc calcFunc-round calcFunc-rounde calcFunc-roundu calcFunc-ffloor calcFunc-fceil calcFunc-ftrunc calcFunc-fround calcFunc-frounde calcFunc-froundu)) (defvar math-positive-functions nil) (defvar math-nonnegative-functions '(calcFunc-cnorm calcFunc-rnorm calcFunc-vlen calcFunc-vcount)) (defvar math-real-scalar-functions '(% calcFunc-idiv calcFunc-abs calcFunc-choose calcFunc-perm calcFunc-eq calcFunc-neq calcFunc-lt calcFunc-gt calcFunc-leq calcFunc-geq calcFunc-lnot calcFunc-max calcFunc-min)) (defvar math-real-if-arg-functions '(calcFunc-sin calcFunc-cos calcFunc-tan calcFunc-sec calcFunc-csc calcFunc-cot calcFunc-arctan calcFunc-sinh calcFunc-cosh calcFunc-tanh calcFunc-sech calcFunc-csch calcFunc-coth calcFunc-exp calcFunc-gamma calcFunc-fact)) (defvar math-integer-functions '(calcFunc-idiv calcFunc-isqrt calcFunc-ilog calcFunc-vlen calcFunc-vcount)) (defvar math-num-integer-functions nil) (defvar math-rounding-functions '(calcFunc-floor calcFunc-ceil calcFunc-round calcFunc-trunc calcFunc-rounde calcFunc-roundu)) (defvar math-float-rounding-functions '(calcFunc-ffloor calcFunc-fceil calcFunc-fround calcFunc-ftrunc calcFunc-frounde calcFunc-froundu)) (defvar math-integer-if-args-functions '(+ - * % neg calcFunc-abs calcFunc-min calcFunc-max calcFunc-choose calcFunc-perm)) (defalias 'calc-min #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303\304$\207" [arg calc-binary-op "min" calcFunc-min (var inf var-inf)] 5]] 3 nil "P"]) (defalias 'calc-max #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303\304$\207" [arg calc-binary-op "max" calcFunc-max (neg (var inf var-inf))] 5]] 3 nil "P"]) (defalias 'calc-abs #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-unary-op "abs" calcFunc-abs] 4]] 3 nil "P"]) (defalias 'calc-idiv #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303\304$\207" [arg calc-binary-op "\\" calcFunc-idiv 1] 5]] 3 nil "P"]) (defalias 'calc-floor #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302 \203 \303\304\305#\207\303\304\306#\207\302 \203! \303\307\310#\207\303\307\311#\207" [arg calc-is-inverse calc-is-hyperbolic calc-unary-op "ceil" calcFunc-fceil calcFunc-ceil "flor" calcFunc-ffloor calcFunc-floor] 4]] 3 nil "P"]) (defalias 'calc-ceiling #[(arg) "\301 \210\302!\207" [arg calc-invert-func calc-floor] 2 nil "P"]) (defalias 'calc-round #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302 \203 \303\304\305#\207\303\304\306#\207\302 \203! \303\307\310#\207\303\307\311#\207" [arg calc-is-inverse calc-is-hyperbolic calc-unary-op "trnc" calcFunc-ftrunc calcFunc-trunc "rond" calcFunc-fround calcFunc-round] 4]] 3 nil "P"]) (defalias 'calc-trunc #[(arg) "\301 \210\302!\207" [arg calc-invert-func calc-round] 2 nil "P"]) (defalias 'calc-mant-part #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-unary-op "mant" calcFunc-mant] 4]] 3 nil "P"]) (defalias 'calc-xpon-part #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-unary-op "xpon" calcFunc-xpon] 4]] 3 nil "P"]) (defalias 'calc-scale-float #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-binary-op "scal" calcFunc-scf] 4]] 3 nil "P"]) (defalias 'calc-abssqr #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-unary-op "absq" calcFunc-abssqr] 4]] 3 nil "P"]) (defalias 'calc-sign #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-unary-op "sign" calcFunc-sign] 4]] 3 nil "P"]) (defalias 'calc-increment #[(arg) "\300\301!\207" [calc-do #[nil "\301\302\303\304\305\302!E#\207" [arg calc-enter-result 1 "incr" calcFunc-incr calc-top-n] 6]] 2 nil "p"]) (defalias 'calc-decrement #[(arg) "\300\301!\207" [calc-do #[nil "\301\302\303\304\305\302!E#\207" [arg calc-enter-result 1 "decr" calcFunc-decr calc-top-n] 6]] 2 nil "p"]) (defalias 'math-abs-approx #[(a) "\211:\203: @\301=\206= @\302=?\205= @\303>\2034 A@\211:\203- @\301=\2020 \304W)\202= \305!\202= \304W)\203E \306!\207\211:?\206Q @\307>)\203W \207@\310=\203k \311\312A@!\312\3138!\"\207@\314=\203v A@\207@\315=\203\203 \316A@!\207@\317=\203\227 \320\312\3138!\312\3218!\"\207@\322=\203\240 \207@\323=\203\254 \324\325\"\207@\326=\203\266 @\207\207" [a bigneg bigpos (frac float) 0 math-negp math-neg (bigpos bigneg frac float hms) cplx math-add math-abs 2 polar sdev math-abs-approx intv math-max 3 date vec math-reduce-vec math-add-abs-approx calcFunc-abs] 6]) (defalias 'math-add-abs-approx #[(a b) "\302\303!\303 !\"\207" [a b math-add math-abs-approx] 4]) (defvar math-decls-cache-tag nil) (defvar math-decls-cache nil) (defvar math-decls-all nil) (defvar math-super-types '((int numint rat real number) (numint real number) (frac rat real number) (rat real number) (float real number) (real number) (number) (scalar) (sqmatrix matrix vector) (matrix vector) (vector) (const))) (defalias 'math-setup-declarations #[nil "\306\307!=\206D \306\307!\310\211\211\211\310\f\242\303=\203= \fA\211\203= \f@\242\303=\203 \311\f@8\211\203 \312\313\314\217\210\202 \315 \236\211,\207" [math-decls-cache-tag range type vec p math-decls-cache calc-var-value var-Decls nil 2 err (byte-code "@A@\306\211\f\242\304=\204 \304\fD\fA\211\203q \f@\211:?\206( @\307>)\204q \f@\242\310=\203 \f@A@\236\211\203J \311\n\"\202m \f@A@\312=\203] \311\n\313\"\314\202m \f@A@\315=\203m \311\n\316\"\317)\202 \f\203\200 \311\n\320\"\321\304\fB!\nD \242\304=\204\217 \304 D A\211\203\313 @\242\310=\204\257 @\211:?\206\253 @\322>)\204\217 @@\310=\203\276 \323 @8\202\301 @@\nBB\202\217 )\306\207" [p v type range vec a nil (bigpos bigneg frac float cplx polar hms date sdev intv mod) var append pos (real number) (intv 1 0 (var inf var-inf)) nonneg (real number) (intv 3 0 (var inf var-inf)) (real number) math-prepare-set (bigpos bigneg frac float cplx polar hms date mod var) 2 math-super-types st math-decls-cache] 4) ((error)) var-All math-decls-all] 5]) (defalias 'math-known-scalarp #[(a &optional assume-scalar) "\303 \210\203 \304=\202 \203 \305\n!?\207\306\n!\207" [calc-matrix-mode assume-scalar a math-setup-declarations scalar math-check-known-matrixp math-check-known-scalarp] 2]) (defalias 'math-known-matrixp #[(a) "\211:?\206\f @\301>)?\205 \302\303\"?\207" [a (bigpos bigneg frac float cplx polar hms) math-known-scalarp t] 4]) (defalias 'math-known-square-matrixp #[(a) "\301!\205 \302!\207" [a math-known-matrixp math-check-known-square-matrixp] 2]) (defalias 'math-check-known-scalarp #[(a) "\211:?\206\f @\306>)\203 \307\207@ >\203 \307\207@\n>\203$ \307\207@>\203<