]> git.eshelyaron.com Git - emacs.git/commit
Improve ‘abs’ performance
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Aug 2018 19:37:57 +0000 (12:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Aug 2018 19:38:30 +0000 (12:38 -0700)
commit33002872364c69e2e6004fb981a8c975c3b38413
tree4ca6644df8b2476d8013ad47eda1c13bfb0aeccc
parent9189afc1a823703e1cef648538ac4b22182eb099
Improve ‘abs’ performance

* src/floatfns.c (Fabs): Improve performance by not copying
the argument if it would eql the result.  As a minor detail,
don't assume fixnums are two’s complement.
src/floatfns.c