summaryrefslogtreecommitdiff
path: root/lisp/calc
Commit message (Collapse)AuthorAgeFilesLines
* (math-emacs-precision, math-largest-emacs-expt)Jay Belanger2007-07-221-0/+66
| | | | | | (math-smallest-emacs-expt): New variables. (math-use-emacs-fn): New function. (math-exp-raw): Evaluate with `math-use-emacs-fn', when appropriate.
* (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):Jay Belanger2007-07-081-5/+4
| | | | Don't eval when compiled.
* (math-bignum-logb-digit-size,math-bignum-digit-power-of-two):Jay Belanger2007-07-081-1/+1
| | | | Evaluate when compiled.
* (math-bignum-logb-digit-size,math-bignum-digit-power-of-two): EvaluateJay Belanger2007-07-081-2/+2
| | | | when compiled.
* (math-bignum-digit-size,math-small-integer-size): Evaluate when compiled.Jay Belanger2007-07-081-2/+4
|
* (math-bignum-digit-length): Evaluate when compiled.Jay Belanger2007-07-081-3/+4
|
* (math-approx-ln-10,math-approx-ln-2): Add docstrings.Jay Belanger2007-07-081-2/+4
|
* (math-gammap1-raw): Add docstring.Jay Belanger2007-07-081-1/+2
|
* (math-julian-date-beginning,math-julian-date-beginning-int) New constants.Jay Belanger2007-07-081-19/+16
| | | | | (math-format-date-part,math-parse-standard-date,calcFunc-julian): Use the new constants.
* (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const):Jay Belanger2007-07-071-4/+8
| | | | Add docstrings.
* (math-small-factorial-table,math-init-random-base,math-prime-test):Jay Belanger2007-07-071-23/+7
| | | | Remove unnecessary calls to `math-read-number-simple'.
* (math-bignum-digit-length): Change to optimal value.Jay Belanger2007-07-071-1/+4
| | | | (math-read-number-simple): Remove leading 0s.
* (math-read-number): Replace number by variable.Jay Belanger2007-07-071-3/+11
| | | | (math-read-number-simple): Properly parse small integers.
* (math-add-bignum): Replace number by constant.Jay Belanger2007-07-061-2/+2
|
* (math-bignum-logb-digit-size,math-bignum-digit-power-of-two): NewJay Belanger2007-07-061-23/+35
| | | | | | | | | 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.
* (math-random-digit): Rename to `math-random-three-digit-number'.Jay Belanger2007-07-061-12/+13
| | | | (math-random-digits): Don't depend on representation of integers.
* (math-small-factorial-table): Replace list by vector.Jay Belanger2007-07-041-13/+12
|
* (math-padded-polynomial)David Kastrup2007-06-251-0/+6
| | | | (math-partial-fractions): Add some function comments.
* (math-scale-bignum-digit-size): Renamed from math-scale-bignum-3.Jay Belanger2007-06-241-5/+6
| | | | | | (math-isqrt-bignum): Use math-scale-bignum-digit-size and math-bignum-digit-size. (math-isqrt-small): Add another possible initial guess.
* (math-div2-bignum): Use math-bignum-digit-size.Jay Belanger2007-06-241-1/+1
|
* (math-init-random-base,math-prime-test): Use math-read-number-simpleJay Belanger2007-06-241-13/+29
| | | | | to insert constants. (math-prime-test): Redo calculation of sum.
* (math-fixnum-big): Use the variable math-bignum-digit-size.Jay Belanger2007-06-231-1/+1
|
* (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):Jay Belanger2007-06-231-76/+110
| | | | | | | | | | | | 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.
* (math-format-date-part,calc-parse-standard-date,calcFunc-julian):Jay Belanger2007-06-221-4/+4
| | | | Fix incorrect number used in calculations.
* (math-approx-ln-10, math-approx-ln-2): New variables to use in caches.Jay Belanger2007-06-221-2/+10
|
* *** empty log message ***Jay Belanger2007-06-221-75/+75
|
* (math-small-factorial-table): Eval when compile.Jay Belanger2007-06-221-12/+14
|
* *** empty log message ***Jay Belanger2007-06-221-8/+8
|
* (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const): NewJay Belanger2007-06-221-5/+14
| | | | variables to use in caches.
* (math-format-date-part,math-parse-standard-date,calcFunc-julian):Jay Belanger2007-06-221-8/+17
| | | | Replace math-read-number-simple by math-read-number.
* (math-besJ0): Replace math-read-number-simple by math-read-number.Jay Belanger2007-06-221-11/+11
|
* (math-besJ0,math-besJ1,math-besY0,math-besY1,math-bernoulli-b-cache):Jay Belanger2007-06-221-87/+143
| | | | Use math-read-number to insert bignums.
* (math-format-date-part,math-parse-standard-date,calcFunc-julian):Jay Belanger2007-06-221-9/+13
| | | | Use `math-read-number-simple' to insert bignums.
* (math-defcache): Allow forms to evaluate to initial values.Jay Belanger2007-06-221-8/+19
| | | | | (math-pi,math-sqrt-e,math-gamma-const): Use `math-read-number-simple' to write initial values.
* (math-small-factorial-table): New variable.Jay Belanger2007-06-221-8/+15
| | | | (calcFunc-fact): Use `math-small-factorial-table'.
* (math-read-number-simple): New function.Jay Belanger2007-06-221-0/+18
|
* (math-standard-ops): Fix precedence of multiplication.Jay Belanger2007-06-201-2/+2
|
* (math-compose-expr): Let math-expr-opers equal math-expr-ops.Jay Belanger2007-06-201-0/+1
|
* (calc-finish-stack-edit): Let math-expr-opers equal the functionJay Belanger2007-06-201-1/+1
| | | | math-standard-ops rather than the variable math-standard-opers.
* (calc-read-parse-table): Let math-expr-opers equal the functionJay Belanger2007-06-201-1/+1
| | | | math-standard-ops rather than the variable math-standard-opers.
* (calc-set-language,math-read-big-rec): Let math-expr-opers equal theJay Belanger2007-06-201-2/+2
| | | | | function math-standard-ops rather than the variable math-standard-opers.
* (math-read-plain-expr,math-format-flat-expr-fancy): LetJay Belanger2007-06-201-2/+2
| | | | | math-expr-opers equal the function math-standard-ops rather than the variable math-standard-opers.
* (calc-embedded-finish-edit): Let math-expr-opers equal the functionJay Belanger2007-06-201-1/+1
| | | | math-standard-ops rather than the variable math-standard-opers.
* (calc-do-calc-eval): Let math-expr-opers equal the functionJay Belanger2007-06-201-4/+8
| | | | | | | | math-standard-ops rather than the variable math-standard-opers. (calc-algebraic-entry): Let math-expr-opers equal math-standard-ops or math-expr-ops, as appropriate. (math-expr-read-level,math-read-factor): Let math-expr-opers equal math-expr-ops.
* (calc-multiplication-has-precendence): New variable.Jay Belanger2007-06-201-3/+32
| | | | | | (math-standard-ops,math-standard-ops-p,math-expr-ops): New functions. (math-expr-opers): Define using math-standard-ops rather than math-standard-opers.
* (calc-full-help): Use emacs-copyright.Glenn Morris2007-06-071-1/+1
|
* Update maintainer's address.Jay Belanger2007-04-2341-42/+42
|
* Update maintainer's address.Jay Belanger2007-04-231-2/+2
| | | | (calc-bug-address): Update maintainer's address.
* (calc-version): New function.Jay Belanger2007-04-161-0/+5
|
* (calc-trail-mode): Shorten the title.Jay Belanger2007-04-161-2/+1
|