1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00
emacs/doc
Mattias Engdegård de45864cf7 Fix lexing of numbers with trailing decimal point and exponent
Numbers with a trailing dot and an exponent were incorrectly read as
integers (with the exponent ignored) instead of the floats they should
be.  For example, 1.e6 was read as the integer 1, not 1000000.0 as
every sane person would agree was meant. (Bug#48678)

Numbers with a trailing dot but no exponent are still read as
integers.

* src/lread.c (string_to_number): Fix float lexing.
* test/src/lread-tests.el (lread-float): Add test.
* doc/lispref/numbers.texi (Float Basics): Clarify syntax.
2021-05-27 14:16:28 +02:00
..
emacs Further improvements to completion-list-mode-map 2021-05-25 10:39:48 +02:00
lispintro Remove references to very old versions of Emacs from eintr 2021-04-03 00:53:43 +02:00
lispref Fix lexing of numbers with trailing decimal point and exponent 2021-05-27 14:16:28 +02:00
man Add support for Rust in etags 2021-05-17 17:24:04 +02:00
misc Remove modus-themes.org build date (bug#48661) 2021-05-26 12:08:01 +03:00