1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

631 Commits

Author SHA1 Message Date
Jay Belanger
2807e8e488 (math-read-factor): Turn multiple subscripts into nested subscripts.
(math-read-token): Use variables and property names to help with
language specific parsing.
(math-read-expression-level): Use variables to help with language
specific parsing.
2007-12-02 03:13:28 +00:00
Jay Belanger
58dddf38f0 (math-sqrt-raw, math-map-vec, math-make-frac): Declare as functions. 2007-11-28 03:03:52 +00:00
Glenn Morris
8ac9225638 (math-read-big-rec): Fix declaration. 2007-11-27 07:58:30 +00:00
Glenn Morris
43f0c09ef5 (math-normalize-nonstandard): Fix declaration. 2007-11-27 07:57:07 +00:00
Glenn Morris
996d0694f8 (math-map-binop): Fix declaration. 2007-11-27 07:56:49 +00:00
Jay Belanger
adf78b0c8f (math-map-binop): Declare as a function.
(math-nlfit-make-matrix, math-nlfit-find-qmax, math-nlfit-fit)
(math-nlfit-fit-curve, calc-fit-hubbert-linear-curve):
Replace `mapcar*' by `math-map-binop'.
(math-nlfit-make-matrix): Replace `copy-list' with `copy-sequence'.
2007-11-27 04:57:57 +00:00
Jay Belanger
e5a5704e49 (math-map-binop): New function.
(calc-curve-fit): Replace `mapcar*' by `math-map-binop'.
2007-11-27 04:56:53 +00:00
Jay Belanger
ae51ae1108 (math-provably-realp): Fix typo. 2007-11-27 04:53:27 +00:00
Jay Belanger
c4efb85877 (math-read-expr-level): Declare as a function. 2007-11-27 04:08:41 +00:00
Jay Belanger
b8e003302b (edmacro-format-keys,edmacro-parse-keys)
(math-read-expr-level): Declare as functions.
2007-11-27 04:08:16 +00:00
Jay Belanger
b09c4bb497 (calc-get-fit-variables): Declare as a function. 2007-11-27 04:07:42 +00:00
Jay Belanger
47330d3f42 (calc-embedded-save-original-modes): Declare as a function. 2007-11-27 04:07:06 +00:00
Jay Belanger
22aa9347ba (calc-do-keypad, calc-inv-hyp-prefix-help)
(calc-inverse-prefix-help, calc-hyperbolic-prefix-help)
(calc-explain-why, calc-clear-command-flag)
(calc-roll-down-with-selections, calc-roll-up-with-selections)
(calc-last-args, calc-is-inverse, calc-do-prefix-help)
(math-objvecp, math-known-scalarp, math-vectorp, math-matrixp)
(math-trunc-special, math-trunc-fancy, math-floor-special)
(math-floor-fancy, math-square-matrixp, math-matrix-inv-raw)
(math-known-matrixp, math-mod-fancy, math-pow-of-zero)
(math-pow-zero, math-pow-fancy): Declare as functions.
2007-11-27 04:06:31 +00:00
Jay Belanger
84309b3b01 (math-zerop, math-negp, math-looks-negp)
(math-posp, math-compare, math-bignum, math-compare-bignum):
Declare as functions.
2007-11-27 04:05:56 +00:00
Jay Belanger
41f4eebc99 (math-read-factor, math-read-expr-level): Declare as functions. 2007-11-27 04:05:19 +00:00
Jay Belanger
a61506a749 (Info-goto-node, Info-last): Declare as functions. 2007-11-27 04:04:45 +00:00
Jay Belanger
1976223fab (calendar-current-time-zone)
(calendar-absolute-from-gregorian, dst-in-effect): Declare as
functions.
2007-11-27 04:04:08 +00:00
Jay Belanger
ded4d41900 (math-clip, math-round, math-simplify)
(math-simplify-extended, math-simplify-units, calc-set-language)
(calc-flush-caches, calc-save-modes, calc-embedded-modes-change)
(calc-embedded-var-change, math-mul-float, math-arctan-raw)
(math-sqrt-float, math-exp-minus-1-raw, math-normalize-polar)
(math-normalize-hms, math-normalize-mod, math-make-sdev)
(math-make-intv, math-normalize-logical-op, math-possible-signs)
(math-infinite-dir, math-calcFunc-to-var)
(calc-embedded-evaluate-expr, math-known-nonzerop)
(math-read-expr-level, math-read-big-rec, math-read-big-balance)
(math-format-date, math-vector-is-string, math-vector-to-string)
(math-format-radix-float, math-compose-expr, math-abs)
(math-format-bignum-binary, math-format-bignum-octal)
(math-format-bignum-hex, math-format-bignum-radix)
(math-compute-max-digits): Declare as functions.
2007-11-27 04:03:37 +00:00
Jay Belanger
c68aaac5a6 (calc-set-language, calc-edit-finish)
(calc-edit-cancel, calc-do-quick-calc, calc-do-calc-eval)
(calc-do-keypad, calcFunc-unixtime, math-parse-date)
(math-lessp, calc-embedded-finish-command)
(calc-embedded-select-buffer, calc-embedded-mode-line-change)
(calc-push-list-in-macro, calc-replace-selections)
(calc-record-list, calc-normalize-fancy, calc-do-handle-whys)
(calc-top-selected, calc-sel-error, calc-pop-stack-in-macro)
(calc-embedded-stack-change, calc-refresh-evaltos)
(calc-do-refresh, calc-binary-op-fancy, calc-unary-op-fancy)
(calc-delete-selection, calc-alg-digit-entry, calc-alg-entry)
(calc-dots, calc-temp-minibuffer-message, math-read-radix-digit)
(calc-digit-dots, math-normalize-fancy, math-normalize-nonstandard)
(math-recompile-eval-rules, math-apply-rewrites, calc-record-why)
(math-dimension-error, calc-incomplete-error, math-float-fancy)
(math-neg-fancy, math-zerop, calc-add-fractions)
(math-add-objects-fancy, math-add-symb-fancy, math-mul-zero)
(calc-mul-fractions, math-mul-objects-fancy, math-mul-symb-fancy)
(math-reject-arg, math-div-by-zero, math-div-zero, math-make-frac)
(calc-div-fractions, math-div-objects-fancy, math-div-symb-fancy)
(math-compose-expr, math-comp-width, math-composition-to-string)
(math-stack-value-offset-fancy, math-format-flat-expr-fancy)
(math-adjust-fraction, math-format-binary, math-format-radix)
(math-group-float, math-mod, math-format-number-fancy)
(math-format-bignum-fancy, math-read-number-fancy)
(calc-do-grab-region, calc-do-grab-rectangle, calc-do-embedded)
(calc-do-embedded-activate, math-do-defmath)
(calc-load-everything): Declare as functions.
2007-11-27 04:02:56 +00:00
Jay Belanger
05fed923d3 (calc-fit-s-shaped-logistic-curve)
(calc-fit-bell-shaped-logistic-curve)
(calc-fit-hubbert-linear-curve, calc-graph-add-curve)
(calc-graph-lookup, calc-graph-set-styles, math-min-list)
(math-max-list): Declare as functions.
2007-11-27 04:01:42 +00:00
Jay Belanger
2f78f9049a (calc-refresh-evaltos, calc-execute-kbd-macro)
(math-is-true, calc-explain-why, calc-alg-edit)
(math-composite-inequalities, math-flatten-lands)
(math-multi-subst, calcFunc-vmatches, math-simplify)
(math-known-matrixp, math-parse-fortran-subscr, math-to-radians-2)
(math-read-string, math-read-brackets, math-read-angle-brackets):
Declare as functions.
2007-11-27 04:00:56 +00:00
Jay Belanger
84df9db88a (calc-modes-menu): Add normal and incomplete algebraic modes. 2007-11-27 01:08:24 +00:00
Jay Belanger
b2e7f0f07f (calc-last-user-lang-parse-table): New variable.
(math-build-parse-table): Get parse information from `math-parse-table'.
2007-11-16 23:48:26 +00:00
Dan Nicolaescu
9efa445fbe * smime.el (from):
* rfc2047.el (message-posting-charset):
* qp.el (mm-use-ultra-safe-encoding):
* pop3.el (parse-time-months):
* nnrss.el (mm-text-html-renderer, mm-text-html-washer-alist):
* nnml.el (files):
* nnheader.el (gnus-newsgroup-name, nnheader-file-coding-system)
(jka-compr-compression-info-list, ange-ftp-path-format)
(efs-path-regexp):
* nndiary.el (files):
* mml2015.el (mc-default-scheme, mc-schemes, pgg-default-user-id)
(pgg-errors-buffer, pgg-output-buffer, epg-user-id-alist)
(epg-digest-algorithm-alist, inhibit-redisplay)
(password-cache-expiry):
* mml1991.el (pgg-default-user-id, pgg-errors-buffer)
(pgg-output-buffer, password-cache-expiry):
* mml.el (mml-dnd-protocol-alist, ange-ftp-name-format)
(efs-path-regexp):
* mml-smime.el (epg-user-id-alist, epg-digest-algorithm-alist)
(inhibit-redisplay):
* mm-uu.el (file-name, start-point, end-point, entry)
(gnus-newsgroup-name, gnus-newsgroup-charset):
* mm-util.el (mm-mime-mule-charset-alist, latin-unity-coding-systems)
(latin-unity-ucs-list):
* mm-bodies.el (mm-uu-yenc-decode-function, mm-uu-decode-function)
(mm-uu-binhex-decode-function):
* message.el (gnus-message-group-art, gnus-list-identifiers, )
(rmail-enable-mime-composing, gnus-local-organization)
(gnus-post-method, gnus-select-method, gnus-active-hashtb)
(gnus-read-active-file, facemenu-add-face-function)
(facemenu-remove-face-function, gnus-article-decoded-p)
(tool-bar-mode):
* mail-source.el (display-time-mail-function):
* gnus-util.el (nnmail-pathname-coding-system)
(nnmail-active-file-coding-system, gnus-emphasize-whitespace-regexp)
(gnus-original-article-buffer, gnus-user-agent)
(rmail-default-rmail-file, mm-text-coding-system, tool-bar-mode)
(xemacs-codename, sxemacs-codename, emacs-program-version):
* gnus-sum.el (tool-bar-mode, gnus-tmp-header, number):
* gnus-start.el (gnus-agent-covered-methods)
(gnus-agent-file-loading-local, gnus-agent-file-loading-cache)
(gnus-current-headers, gnus-thread-indent-array, gnus-newsgroup-name)
(gnus-newsgroup-headers, gnus-group-list-mode)
(gnus-group-mark-positions, gnus-newsgroup-data)
(gnus-newsgroup-unreads, nnoo-state-alist)
(gnus-current-select-method, mail-sources)
(nnmail-scan-directory-mail-source-once, nnmail-split-history)
(nnmail-spool-file, gnus-cache-active-hashtb):
* gnus-mh.el (mh-lib-progs):
* gnus-ems.el (gnus-tmp-unread, gnus-tmp-replied)
(gnus-tmp-score-char, gnus-tmp-indentation, gnus-tmp-opening-bracket)
(gnus-tmp-lines, gnus-tmp-name, gnus-tmp-closing-bracket)
(gnus-tmp-subject-or-nil, gnus-check-before-posting, gnus-mouse-face)
(gnus-group-buffer):
* gnus-cite.el (font-lock-defaults-computed, font-lock-keywords)
(font-lock-set-defaults):
* gnus-art.el (tool-bar-map, w3m-minor-mode-map)
(gnus-face-properties-alist, charset, gnus-summary-article-menu)
(gnus-summary-post-menu, total-parts, type, condition, length):
* gnus-agent.el (gnus-agent-read-agentview):
* flow-fill.el (show-trailing-whitespace):
* gnus-group.el (tool-bar-mode, nnrss-group-alist): Remove unnecessary
eval-and-compile wrappers for byte compiler pacifiers.

* mm-view.el (mm-inline-image-xemacs): Only do something for XEmacs.
(mm-display-inline-fontify): Check for featurep 'xemacs not
extent-list.

* mm-decode.el (mm-display-external): Check for featurep 'xemacs not
itimer-list.
(mm-create-image-xemacs): Only do something for XEmacs.
(mm-image-fit-p): Check for featurep 'xemacs not glyph-width.

* mm-util.el (mm-find-buffer-file-coding-system): Add check for XEmacs.

* gnus-registry.el (gnus-adaptive-word-syntax-table):
* gnus-fun.el (gnus-face-properties-alist): Pacify byte compiler.

* textmodes/reftex-dcr.el (reftex-start-itimer-once): Add check
for XEmacs.

* calc/calc-menu.el (calc-mode-map): Pacify byte compiler.

* doc-view.el (doc-view-resolution): Add missing :group.
2007-11-16 16:50:35 +00:00
Jay Belanger
e60594293d Mention menu. 2007-11-16 04:27:57 +00:00
Jay Belanger
f031b518ed (calc-modes-menu): Add Languages submenu. 2007-11-16 04:16:15 +00:00
Jay Belanger
fda9b316f8 (math-oper-table): Fix typo. Reduce precedence of "/" for TeX. 2007-11-16 04:15:23 +00:00
Jay Belanger
a81f03138a (calc-scientific-function-menu,calc-algebra-menu,calc-graphics-menu)
(calc-vectors-menu,calc-modes-menu): Adjust capitalization.
2007-11-15 04:19:04 +00:00
Miles Bader
d43fba2fd1 Add arch tagline 2007-11-15 04:15:05 +00:00
Jay Belanger
011279a63c (calc-menu): Make menu visible only in Calc buffer. 2007-11-15 03:21:46 +00:00
Jay Belanger
ebbdfa246a (calc-mode): Require calc-menu. 2007-11-15 02:57:46 +00:00
Jay Belanger
d0e18a3aaf New file. 2007-11-15 02:57:08 +00:00
Noah Friedman
84b4b70d64 Add `backward-delete-char-untabify' to the list of bindings to remap when
`calc-scan-for-dels' is non-nil.
2007-11-13 18:52:00 +00:00
Dan Nicolaescu
6546555e7d * calc/calc.el (calc-emacs-type-lucid): Remove.
(calc-digit-map, calcDigit-start, calc-read-key)
(calc-clear-unread-commands):
* calc/calc-ext.el (calc-user-key-map): Replace uses of
calc-emacs-type-lucid with (featurep 'xemacs)

* emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
(featurep 'xemacs).
(tpu-lucid-emacs19-p): Remove.
(tpu-map-key): Make it a function instead of using fset.  Inline
tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
(tpu-emacs-map-key, tpu-lucid-map-key): Remove.

* ielm.el: Use featurep 'xemacs.

* progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
(condition-case, cperl-can-font-lock, cperl-singly-quote-face)
(cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
(cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
cperl-xemacs-p with (featurep 'xemacs).
(font-lock-cache-position): Pacify byte compiler.
2007-10-29 15:33:04 +00:00
Jay Belanger
7841a7ddd2 Mention the lowering of the precedence of negation. 2007-10-27 20:28:27 +00:00
Jay Belanger
ca54ae34f4 (math-oper-table): Lower precedence of negation for C, TeX, and eqn. 2007-10-27 20:25:45 +00:00
Jay Belanger
c8d0074405 (math-standard-opers): Lower the precedence of negation. 2007-10-27 20:24:52 +00:00
Jay Belanger
0317ca7890 (math-simplify-units-quotient): Replace missing exponent. 2007-10-24 01:51:40 +00:00
Jay Belanger
437806ed0b Add some recent news. 2007-10-20 15:51:12 +00:00
Jay Belanger
16635351f5 (math-largest-emacs-expt): Remove unnecessary condition check. 2007-10-01 18:16:03 +00:00
Jay Belanger
86e405cfcb calc-math.el (math-largest-emacs-expt): Handle the cases when expt
doesn't give range errors.
2007-10-01 03:18:00 +00:00
Jay Belanger
f1640784ad (math-smallest-emacs-expt): Make the computation more robust. 2007-10-01 02:53:29 +00:00
Jay Belanger
0f3955d99c (calc-convert-units, calc-convert-temperature): Remove unnecessary
colons.
2007-09-26 06:00:47 +00:00
Juanma Barranquero
2a78421d93 (calc-digit-map, calc-dispatch-map, calc-mode, calc-quit):
Use `mapc' rather than `mapcar'.
2007-09-26 00:09:32 +00:00
Juanma Barranquero
09040c8d89 (math-build-units-table): Use mapc' rather than mapcar'. 2007-09-26 00:08:16 +00:00
Juanma Barranquero
4d2a9fe4a4 (calc-flush-caches): Use mapc' rather than mapcar'. 2007-09-26 00:07:37 +00:00
Juanma Barranquero
19449d1d81 (calc-var-name-map): Use mapc' rather than mapcar'. 2007-09-26 00:07:05 +00:00
Juanma Barranquero
ab58914bb6 (another-calc): Use mapc' rather than mapcar'. 2007-09-26 00:06:32 +00:00
Juanma Barranquero
c740ee8b90 (calc-full-help): Use mapc' rather than mapcar'. 2007-09-26 00:06:05 +00:00
Juanma Barranquero
e80155aa0a (calc-init-extensions, calc-reset): Use mapc' rather than mapcar'. 2007-09-26 00:05:27 +00:00
Jay Belanger
94a954954c (var-TimeZone): Make nil the default value.
(math-calendar-tzinfo): New variable.
(math-get-calendar-tzinfo): New function.
(calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
to get information when zone is nil.
2007-08-25 01:37:13 +00:00
Jay Belanger
82472f457c (math-approx-ln-10, math-approx-ln-2): Remove `eval-when-compile's. 2007-08-17 20:20:29 +00:00
Jay Belanger
c6254f53a5 (math-besJ0, math-besJ1, math-besY0, math-besY1)
(math-bernoulli-b-cache): Remove `eval-when-compile's.
2007-08-17 20:20:03 +00:00
Jay Belanger
89027174d3 (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const):
Remove `eval-when-compile's.
2007-08-17 20:19:36 +00:00
Jay Belanger
2aad2a8401 (math-small-factorial-table): Remove `eval-when-compile's. 2007-08-17 20:19:11 +00:00
Jay Belanger
b411074b9d (math-bignum-logb-digit-size,math-bignum-digit-power-of-two):
Remove `eval-when-compile's.
2007-08-17 20:18:45 +00:00
Jay Belanger
37cecd78a0 (math-bignum-digit-length): Compute the appropriate value. 2007-08-17 20:18:16 +00:00
Jay Belanger
7026903cf3 (math-standard-units): Give exact conversion for tsp. 2007-08-17 19:57:14 +00:00
Jay Belanger
82f36338e6 (calc-language-alist): Add texinfo-mode. 2007-08-17 03:57:06 +00:00
Jay Belanger
a21f3259fd (math-standard-units): Update values. Put in exact values when
possible.
(math-unit-prefixes): Replace floats with powers of ten.
(math-standard-units-systems): Replace floats with integers.
(math-make-unit-string): Remove extra spaces in output.
2007-08-15 15:42:58 +00:00
Jay Belanger
8f26ce7300 calc-aent.el
calc-do-quick-calc: Add base 2 to the list of outputs of integers.
2007-08-14 14:52:51 +00:00
Jay Belanger
5360ea16a4 (math-get-standard-units,math-get-units,math-make-unit-string)
(math-get-default-units,math-put-default-units): New functions.
(math-default-units-table): New variable.
(calc-convert-units, calc-convert-temperature): Add machinery to
supply default values.
2007-08-14 05:24:35 +00:00
Jay Belanger
e6cd99dc69 (calc-convert-temperature): Use `/' to create fractions. 2007-08-07 21:06:29 +00:00
Jay Belanger
bdf007a02b (math-nlfit-curve): Remove unnecessary variables.
(math-nlfit-givens): Let bind free variables.
2007-08-05 13:22:45 +00:00
Miles Bader
975418f0cb Add arch tagline 2007-08-05 02:09:12 +00:00
Jay Belanger
2230383b2e (calc-curve-fit): Change plot indicator. 2007-08-04 15:12:22 +00:00
Jay Belanger
48b097e0c2 (calc-curve-fit): Change plot indicator. 2007-08-04 04:39:35 +00:00
Jay Belanger
def4f741fc (calc-curve-fit): Add "plot" indicator. 2007-08-04 04:33:07 +00:00
Jay Belanger
08626df898 New file. 2007-08-04 03:54:14 +00:00
Jay Belanger
b07251cc94 (calc-curve-fit): Add support for nonlinear curves and plotting. 2007-08-04 03:52:06 +00:00
Jay Belanger
480e4ad156 (calc-graph-format-data,calc-graph-add-curve): Check for error forms.
(calc-graph-set-styles): Add option for error forms.
2007-08-03 05:25:03 +00:00
Jay Belanger
6a599ca51f (math-get-value,math-get-sdev,math-contains-sdev): New functions. 2007-08-03 05:21:43 +00:00
Jay Belanger
17cc361e49 (math-sqrt-raw,math-sin-raw-2,math-cos-raw-2,math-arctan-raw)
(math-ln-raw): Use native Emacs functions, when appropriate.
2007-08-02 04:10:17 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
61a31ddcf4 Switch license to GPLv3 or later. 2007-07-25 08:16:16 +00:00
Glenn Morris
075969b476 Switch license to GPLv3 or later. 2007-07-25 03:51:22 +00:00
Jay Belanger
178b8bafc2 (math-emacs-precision, math-largest-emacs-expt)
(math-smallest-emacs-expt): New variables.
(math-use-emacs-fn): New function.
(math-exp-raw): Evaluate with `math-use-emacs-fn', when appropriate.
2007-07-22 03:34:39 +00:00
Jay Belanger
236e165a5a (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):
Don't eval when compiled.
2007-07-08 01:40:33 +00:00
Jay Belanger
9f2dcb8bcf (math-bignum-logb-digit-size,math-bignum-digit-power-of-two):
Evaluate when compiled.
2007-07-08 00:26:02 +00:00
Jay Belanger
4346200eb9 (math-bignum-logb-digit-size,math-bignum-digit-power-of-two): Evaluate
when compiled.
2007-07-08 00:18:06 +00:00
Jay Belanger
9066adc420 (math-bignum-digit-size,math-small-integer-size): Evaluate when compiled. 2007-07-08 00:14:16 +00:00
Jay Belanger
a6a0d3cbf5 (math-bignum-digit-length): Evaluate when compiled. 2007-07-08 00:11:09 +00:00
Jay Belanger
94c95a358a (math-approx-ln-10,math-approx-ln-2): Add docstrings. 2007-07-08 00:06:26 +00:00
Jay Belanger
3bf971143f (math-gammap1-raw): Add docstring. 2007-07-08 00:01:06 +00:00
Jay Belanger
98e9ffe31e (math-julian-date-beginning,math-julian-date-beginning-int) New constants.
(math-format-date-part,math-parse-standard-date,calcFunc-julian):
Use the new constants.
2007-07-08 00:00:30 +00:00
Jay Belanger
fd8eab36a0 (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const):
Add docstrings.
2007-07-07 23:57:23 +00:00
Jay Belanger
4b4b19bdd5 (math-small-factorial-table,math-init-random-base,math-prime-test):
Remove unnecessary calls to `math-read-number-simple'.
2007-07-07 23:56:56 +00:00
Jay Belanger
aefad52dcd (math-bignum-digit-length): Change to optimal value.
(math-read-number-simple): Remove leading 0s.
2007-07-07 23:56:33 +00:00
Jay Belanger
e90988a097 (math-read-number): Replace number by variable.
(math-read-number-simple): Properly parse small integers.
2007-07-07 04:15:40 +00:00
Jay Belanger
9ae06d96f6 (math-add-bignum): Replace number by constant. 2007-07-06 03:58:00 +00:00
Jay Belanger
3fa5c46284 (math-bignum-logb-digit-size,math-bignum-digit-power-of-two): New
constants.
(math-and-bignum,math-or-bignum,math-xor-bignum,math-diff-bignum)
(math-not-bignum,math-clip-bignum): Use the constants
math-bignum-digit-power-of-two and math-bignum-logb-digit-size instead
of their values.
(math-clip): Use math-small-integer-size instead of its value.
2007-07-06 02:41:18 +00:00
Jay Belanger
e4ebbf4941 (math-random-digit): Rename to `math-random-three-digit-number'.
(math-random-digits): Don't depend on representation of integers.
2007-07-06 02:06:30 +00:00
Jay Belanger
aa9f275176 (math-small-factorial-table): Replace list by vector. 2007-07-04 04:36:04 +00:00
David Kastrup
fed082a09c (math-padded-polynomial)
(math-partial-fractions): Add some function comments.
2007-06-25 20:55:56 +00:00
Jay Belanger
98888d774f (math-scale-bignum-digit-size): Renamed from math-scale-bignum-3.
(math-isqrt-bignum): Use math-scale-bignum-digit-size and
math-bignum-digit-size.
(math-isqrt-small): Add another possible initial guess.
2007-06-24 19:46:53 +00:00
Jay Belanger
f164b8c846 (math-div2-bignum): Use math-bignum-digit-size. 2007-06-24 19:37:43 +00:00
Jay Belanger
40cddce8bd (math-init-random-base,math-prime-test): Use math-read-number-simple
to insert constants.
(math-prime-test): Redo calculation of sum.
2007-06-24 14:30:14 +00:00
Jay Belanger
b593f1de16 (math-fixnum-big): Use the variable math-bignum-digit-size. 2007-06-23 04:36:29 +00:00
Jay Belanger
a6d107f171 (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):
New constants.
(math-normalize,math-bignum-big,math-make-float,math-div10-bignum)
(math-scale-left,math-scale-left-bignum,math-scale-right)
(math-scale-right-bignum,math-scale-rounding,math-add,math-add-bignum)
(math-sub-bignum,math-sub,math-mul,math-mul-bignum,math-mul-bignum-digit)
(math-idivmod,math-quotient,math-div-bignum,math-div-bignum-digit)
(math-div-bignum-part,math-format-bignum-decimal,math-read-bignum):
Use math-bignum-digit-length, math-bignum-digit-size and
math-small-integer-size.
2007-06-23 04:08:18 +00:00
Jay Belanger
092c493633 (math-format-date-part,calc-parse-standard-date,calcFunc-julian):
Fix incorrect number used in calculations.
2007-06-22 15:05:08 +00:00