summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-comb.el
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Change maintainer address.Jay Belanger2015-11-031-1/+0
| | | | * lisp/calc/calc (calc-bug-address): Change address.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* * calc/calc-comb.el (math-prime-test): Don't assume large integers areJay Belanger2013-10-161-2/+8
| | | | | | | represented by lists. * doc/misc/calc.el (Data Type Formats): Don't specify the size at which integers begin to be represented by lists.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Better seed support for (random).Paul Eggert2012-08-311-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/numbers.texi (Random Numbers): Document new behavior of the calls (random) and (random STRING). * etc/NEWS: Document new behavior of (random), (random "string"). * lisp/play/5x5.el, lisp/play/animate.el, lisp/play/cookie1.el: * lisp/play/dissociate.el, lisp/play/doctor.el, lisp/play/dunnet.el: * lisp/play/gomoku.el, lisp/play/landmark.el, lisp/play/mpuz.el: * lisp/play/tetris.el, lisp/play/zone.el: * lisp/calc/calc-comb.el (math-init-random-base): * lisp/play/blackbox.el (bb-init-board): * lisp/play/life.el (life): * lisp/server.el (server-use-tcp): * lisp/type-break.el (type-break): Remove unnecessary call to (random t). * lisp/net/sasl.el (sasl-unique-id-function): Change (random t) to (random), now that the latter is more random. * lisp/play/life.el (life-initialized): Remove no-longer-needed var. * lisp/gnus/gnus-sync.el (gnus-sync-lesync-setup): * lisp/gnus/message.el (message-canlock-generate, message-unique-id): Change (random t) to (random), now that the latter is more random. * lisp/org/org-id.el (org-id-uuid): Change (random t) to (random), now that the latter is more random. * src/emacs.c (main): Call init_random. * src/fns.c (Frandom): Set the seed from a string argument, if given. Remove long-obsolete Gentzel cruft. * src/lisp.h, src/sysdep.c (seed_random): Now takes address and size, not long. (init_random): New function.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (math-small-factorial-table): Remove `eval-when-compile's.Jay Belanger2007-08-171-11/+10
| |
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (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-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-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-small-factorial-table): Eval when compile.Jay Belanger2007-06-221-12/+14
| |
* | (math-small-factorial-table): New variable.Jay Belanger2007-06-221-8/+15
|/ | | | (calcFunc-fact): Use `math-small-factorial-table'.
* Update maintainer's address.Jay Belanger2007-04-231-1/+1
|
* Change form of license text to match rest of Emacs.Glenn Morris2007-03-191-13/+13
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright year.Jay Belanger2006-02-051-1/+1
|
* Update copyright information.Jay Belanger2005-07-141-1/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-05-171-1/+1
|
* Update copyright year.Jay Belanger2005-05-071-1/+1
|
* (math-random-last): Declare it.Jay Belanger2004-12-171-4/+5
| | | | | | | (math-random-digit): Undo last change. Don't make math-random-last local. (var-RandSeed): Don't initially bind it. (math-init-random-base, math-random-digit): Check to see if var-RandSeed is bound.
* (math-random-digit): Call math-init-random-base if var-RandSeed is nil.Jay Belanger2004-12-161-1/+1
|
* Add a provide statement.Jay Belanger2004-11-301-7/+3
| | | | (calc-Need-calc-comb): Remove it.
* (math-prime-factors-finished): Declared it as a variable.Jay Belanger2004-11-111-23/+45
| | | | | | | | | | | | | | | | | | | | | | | | | (calcFunc-dfac): Replaced max by n. (math-stirling-local-cache): New variable. (math-stirling-number, math-stirling-1, math-stirling-2): Replaced the variable `cache' by the declared variable math-stirling-local-cache. (var-RandSeed): Declared it. (math-init-random-base, math-random-digit): Don't check to see if var-RandSeed is bound. (math-random-cache, math-gaussian-cache, calc-verbose-nextprime): Declared them instead of just setting them. (math-init-random-base): Made i a local variable. (math-random-digit): Made math-random-last a local variable. (math-prime-test-cache): Moved declaration to before it is used. (math-prime-test-cache-k, math-prime-test-cache-q, math-prime-test-cache-nm1, math-prime-factors-finished): Declared them as variables.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Trailing whitepace deleted.Juanma Barranquero2003-02-041-2/+2
|
* Add new maintainer (deego).Deepak Goel2003-01-151-1/+2
|
* Change all toplevel `setq' forms to `defvar' forms, and move themColin Walters2001-11-191-55/+61
| | | | | | before their first use. Use `when', `unless'. Remove trailing periods from error forms. Add description and headers suggested by Emacs Lisp coding conventions.
* Style cleanup; don't put closing parens on theirColin Walters2001-11-141-116/+57
| | | | | own line, add "foo.el ends here" to each file, and update copyright date.
* Initial import of Calc 2.02f.Eli Zaretskii2001-11-061-0/+1056