Skip to content

Commit

Permalink
mark some math functions as direct
Browse files Browse the repository at this point in the history
Fixes #24
  • Loading branch information
tromey committed Sep 16, 2017
1 parent 5ce4c94 commit 5f9d0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elcomp/props.el
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ things, so that advice continues to work."
ffloor fceiling ftruncate fround
sin cos tan asin acos atan exp log
sqrt))
(elcomp-declare func :elcomp-const t :elcomp-type 'float))
(elcomp-declare func :elcomp-const t :elcomp-type 'float :elcomp-direct t))

(dolist (func '(lsh ash logand logior logxor lognot byteorder sxhash length))
(elcomp-declare func :elcomp-const t :elcomp-type 'integer))
(elcomp-declare func :elcomp-const t :elcomp-type 'integer :elcomp-direct t))

(elcomp-declare 'cons :elcomp-type 'cons)
(elcomp-declare 'list :elcomp-type 'list)
Expand Down

0 comments on commit 5f9d0c4

Please sign in to comment.