emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2e1510d 1/2: Mention the recent floating point reader changes in


From: Lars Ingebrigtsen
Subject: master 2e1510d 1/2: Mention the recent floating point reader changes in NEWS
Date: Sat, 29 May 2021 02:08:45 -0400 (EDT)

branch: master
commit 2e1510dd009a97e3952df6e6f6deb51aac854933
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Mention the recent floating point reader changes in NEWS
    
    * etc/NEWS: Mention the floating point reader changes (bug#48678).
---
 etc/NEWS | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 876f63c..392b164 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2496,6 +2496,13 @@ This is to keep the same behavior as Eshell.
 
 * Incompatible Lisp Changes in Emacs 28.1
 
+---
+** Some floating point numbers are now handled differently by the Lisp reader.
+In previous versions of Emacs, floating point numbers like 1.e6 would
+be read as 1.  This has now been changed, and the Lisp reader will now
+read that construct as 1000000.0.
+That is, (read-from-string "1.e6") => (1000000.0 . 4) now.
+
 +++
 ** The 'lexical-binding' local variable is always enabled.
 Previously, if 'enable-local-variables' was nil, a 'lexical-binding'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]