From: Lars Ingebrigtsen Date: Mon, 9 May 2022 09:57:46 +0000 (+0200) Subject: Update string-to-number documentation to bignum Emacs X-Git-Tag: emacs-28.1.90~94 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=177718bc6df79ee93656e20c5b25b94923040dab;p=emacs.git Update string-to-number documentation to bignum Emacs * doc/lispref/strings.texi (String Conversion): string-to-number no longer converts integers to floating point numbers (bug#55334). --- diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 6a6b756fbe5..2810f686eb7 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -853,9 +853,7 @@ between 2 and 16 (inclusive), and integers are converted in that base. If @var{base} is @code{nil}, then base ten is used. Floating-point conversion only works in base ten; we have not implemented other radices for floating-point numbers, because that would be much more -work and does not seem useful. If @var{string} looks like an integer -but its value is too large to fit into a Lisp integer, -@code{string-to-number} returns a floating-point result. +work and does not seem useful. The parsing skips spaces and tabs at the beginning of @var{string}, then reads as much of @var{string} as it can interpret as a number in