diff options
| author | Paul Eggert | 2013-06-20 07:15:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-06-20 07:15:42 -0700 |
| commit | 89561f72e587677618afa2fd6962704e841e39e8 (patch) | |
| tree | 9b790c6b916c853df24a72eebd505c38501ccec6 /etc | |
| parent | 47199123698df3a14acb016c3869075b2d6012d5 (diff) | |
| download | emacs-89561f72e587677618afa2fd6962704e841e39e8.tar.gz emacs-89561f72e587677618afa2fd6962704e841e39e8.zip | |
Add log2 support and make log10 obsolete for consistency.
* configure.ac (log2): Check for this function.
* doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10.
* lisp/subr.el (log10): Move here from C code, and declare as obsolete.
All uses of (log10 X) replaced with (log X 10).
* src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the
base is 2; this is more accurate.
(Flog10): Move to Lisp (marked obsolete there).
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -469,6 +469,7 @@ file using `set-file-extended-attributes'. | |||
| 469 | ** New macro with-eval-after-load. Like eval-after-load, but better behaved. | 469 | ** New macro with-eval-after-load. Like eval-after-load, but better behaved. |
| 470 | 470 | ||
| 471 | ** Obsoleted functions: | 471 | ** Obsoleted functions: |
| 472 | *** `log10' | ||
| 472 | *** `dont-compile' | 473 | *** `dont-compile' |
| 473 | *** `lisp-complete-symbol' | 474 | *** `lisp-complete-symbol' |
| 474 | *** `field-complete' | 475 | *** `field-complete' |