summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-09-05 00:21:02 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-09-05 00:23:49 -0700
commitbaa6ae8724fd4cd7631164a89bf8eed4ff79cfc0 (patch)
treec57f4a6e7a764baee33dbacb5fc58f7ef0269725 /test/lisp/emacs-lisp
parentccb3891ff5446b578b9306aec0fd9c5ec3ed8e98 (diff)
downloademacs-baa6ae8724fd4cd7631164a89bf8eed4ff79cfc0.tar.gz
emacs-baa6ae8724fd4cd7631164a89bf8eed4ff79cfc0.tar.bz2
emacs-baa6ae8724fd4cd7631164a89bf8eed4ff79cfc0.zip
Improve (round FIXNUM FIXNUM) performance
* src/floatfns.c (rounding_driver): New arg fixnum_divide. All callers changed. (ceiling2, floor2, truncate2, round2): New functions. Not that new, actually; these are essentially taken from Emacs 26. (Fceiling, Ffloor, Fround, Ftruncate): Use them.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions