changeset 64954:cef86e3d06ae

(Lisp Changes in Emacs 22.1, General Lisp changes): Mention `expt' handling of negative exponent to return float.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sun, 14 Aug 2005 10:03:15 +0000
parents 6e5405c79022
children dfba32942470
files etc/NEWS
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sun Aug 14 08:09:51 2005 +0000
+++ b/etc/NEWS	Sun Aug 14 10:03:15 2005 +0000
@@ -3209,6 +3209,10 @@
 
 ** 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.