]> git.eshelyaron.com Git - emacs.git/commitdiff
(Lisp Changes in Emacs 22.1, General Lisp changes):
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sun, 14 Aug 2005 10:03:15 +0000 (10:03 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sun, 14 Aug 2005 10:03:15 +0000 (10:03 +0000)
Mention `expt' handling of negative exponent to return float.

etc/NEWS

index d9367c542346a93c1dcd39e1f9e1fc0384e49216..856888f12367947cf6636731e9c97ad3e855d2de 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3209,6 +3209,10 @@ the command `undefined'.  (In earlier Emacs versions, it used
 
 ** General Lisp changes:
 
+*** The function `expt' handles negative exponents differently.
+The value for `(expt A B)', if both A and B are integers and B is
+negative, is now a float.  For example: (expt 2 -2) => 0.25.
+
 +++
 *** The function `eql' is now available without requiring the CL package.