summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-12-07 10:15:59 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2020-12-07 13:18:00 +0100
commitd6d871a1a266421f1c47df57bde5b0da54dfe352 (patch)
tree5224be7713ad8aef248c884f5dc842672320abd9 /lisp/emacs-lisp
parent5d04ee50853adbcb45c5f7bc980ee06a7eb23e5e (diff)
downloademacs-d6d871a1a266421f1c47df57bde5b0da54dfe352.tar.gz
emacs-d6d871a1a266421f1c47df57bde5b0da54dfe352.tar.bz2
emacs-d6d871a1a266421f1c47df57bde5b0da54dfe352.zip
Calc: simplify integer log2 and power of 2
We have bignums and fast primitives now; no caches are needed. * lisp/calc/calc-bin.el (math-power-of-2-cache) (math-big-power-of-2-cache): Remove. (math-power-of-2, math-integer-log2): Simplify. (calcFunc-ash): Don't call math-power-of-2 with negative argument.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions