diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-06-20 07:15:42 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-06-20 07:15:42 -0700 |
commit | 89561f72e587677618afa2fd6962704e841e39e8 (patch) | |
tree | 9b790c6b916c853df24a72eebd505c38501ccec6 /lisp/emacs-lisp/lisp-mnt.el | |
parent | 47199123698df3a14acb016c3869075b2d6012d5 (diff) | |
download | emacs-89561f72e587677618afa2fd6962704e841e39e8.tar.gz emacs-89561f72e587677618afa2fd6962704e841e39e8.tar.bz2 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 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions