Commit graph

57 commits

Author SHA1 Message Date
Paul Eggert
5c7dd8a783 Update copyright year to 2018
Run admin/update-copyright.
2018-01-01 00:57:59 -08:00
Paul Eggert
bc511a64f6 Prefer HTTPS to FTP and HTTP in documentation
Most of this change is to boilerplate commentary such as license URLs.
This change was prompted by ftp://ftp.gnu.org's going-away party,
planned for November.  Change these FTP URLs to https://ftp.gnu.org
instead.  Make similar changes for URLs to other organizations moving
away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
fsf.org when this works, as this will further help defend against
man-in-the-middle attacks (for this part I omitted the MS-DOS and
MS-Windows sources and the test tarballs to keep the workload down).
HTTPS is not fully working to lists.gnu.org so I left those URLs alone
for now.
2017-09-13 15:54:37 -07:00
Paul Eggert
bcf244ef9b Merge from origin/emacs-25
2e2a806 Fix copyright years by hand
5badc81 Update copyright year to 2017
2017-01-01 01:10:47 -08:00
Paul Eggert
5badc81c1c Update copyright year to 2017
Run admin/update-copyright.
2016-12-31 19:42:26 -08:00
Tino Calancha
713e922243 Ignore angle mode while simplifying units
* lisp/calc/calc-forms.el (math-to-hms, math-from-hms):
Ignore value of 'calc-angle-mode' when 'math-simplifying-units'
is non-nil (Bug#23889).
* lisp/calc/calc-math.el (math-to-radians, math-from-radians)
(math-from-radians-2, math-to-radians-2): Idem.
2016-07-12 00:38:14 +09:00
Paul Eggert
0e963201d0 Update copyright year to 2016
Run admin/update-copyright.
2016-01-01 01:34:24 -08:00
Jay Belanger
fb711d7275 Change maintainer address.
* lisp/calc/calc (calc-bug-address): Change address.
2015-11-03 16:16:54 -06:00
Paul Eggert
7e09ef09a4 Update copyright year to 2015
Run admin/update-copyright.
2015-01-01 14:26:41 -08:00
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Jay Belanger
7a91562ff0 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
Add option to force `pi' to remain symbolic.
* calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
  (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
  (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
  derivatives, when necessary.
2013-02-23 19:05:13 -06:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Jay Belanger
771fc75ee9 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
when evaluating.

* calc/calc-units.el (math-conditional-apply, math-conditional-pow): 
  New function.
  (math-logunits-add, math-logunits-mul, math-logunits-divide):
  (math-logunits-quant, math-logunits-level): Use
  `math-conditional-apply' and `math-conditional-pow' to evaluate 
  functions.
  (math-logunits-level): Extract units from ratio.
2011-03-01 21:07:34 -06:00
Jay Belanger
b49df7426b * calc/calc-ext.el (calc-init-extensions): Autoload `calc-l-prefix-help'
instead of `calc-ul-prefix-help'.

* calc/calc-math.el (calcFunc-log10): Don't signal an error in symbolic
mode.

* calc/calc-vec.el (calcFunc-subscr): Don't do anything if the first
argument is a variable.
2011-02-26 19:33:37 -06:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Jay Belanger
d2e63e7573 (math-use-emacs-fn): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:54 +00:00
Jay Belanger
2e9b968b28 (math-use-emacs-fn): Make sure that the number is formatted correctly. 2009-07-03 01:43:33 +00:00
Jay Belanger
7b3752ab87 (math-use-emacs-fn): Make sure that the lisp number is in decimal. 2009-02-21 19:19:58 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
662c9c64ae Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:16:00 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Jay Belanger
b0d9db865c (math-sin-raw): Add optional argument to keep track of
original argument.
(math-cos-raw): Use optional argument when calling math-sin-raw.
(math-sin-raw-2, math-cos-raw-2): Check for a zero argument with close
to original precision.
2008-02-21 02:35:14 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +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
82472f457c (math-approx-ln-10, math-approx-ln-2): Remove `eval-when-compile's. 2007-08-17 20:20:29 +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
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
94c95a358a (math-approx-ln-10,math-approx-ln-2): Add docstrings. 2007-07-08 00:06:26 +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
4603f755b4 (math-approx-ln-10, math-approx-ln-2): New variables to use in caches. 2007-06-22 06:12:35 +00:00
Jay Belanger
e8fff8ed68 Update maintainer's address. 2007-04-23 21:30:42 +00:00
Glenn Morris
7c671b23f3 Change form of license text to match rest of Emacs. 2007-03-19 20:59:53 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Jay Belanger
09ea57eaca Update copyright year. 2006-02-05 16:31:42 +00:00
Jay Belanger
58ba2f8f07 Update copyright information. 2005-07-14 20:05:30 +00:00
Jay Belanger
a42e94cac5 Update copyright year. 2005-05-07 21:22:51 +00:00
Jay Belanger
eb1ef4557d (calc-arctan, calc-tanh, calc-arctanh): Removed extra definitions.
(calc-coth): New function.
(calcFunc-cot): Fix `let'.
2005-02-19 15:59:53 +00:00
Jay Belanger
6ec3030266 (math-csc-raw): Fix typo. 2005-02-15 19:49:51 +00:00
Jay Belanger
f53e6c20ff (calc-sec, calc-csc, calc-cot, calc-sech, calc-csch, calc-coth)
(calcFunc-sec, calcFunc-csc, calcFunc-cot, calcFunc-sech)
(calcFunc-csch, calcFunc-coth, math-sec-raw, math-csc-raw)
(math-cot-raw): New functions.
2005-02-15 19:25:20 +00:00
Jay Belanger
95995a85a2 Add a provide statement.
(calc-Need-calc-math): Remove it.
2004-11-30 17:16:50 +00:00
Jay Belanger
86498823f8 (math-nrf-n, math-nrf-nf, math-nrf-nfm1): New variables.
(math-nth-root-float, math-nth-root-float-iter): Replace variables
n, nf and nfm1 by declared variables.

(math-nri-n): New variable.
(math-nth-root-int, math-nth-root-int-iter): Replace variable n by
declared variable.

(calcFunc-log): Removed misplaced condition.
2004-11-24 18:01:37 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00