[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 177718bc6d: Update string-to-number documentation to bignum Ema
From: |
Lars Ingebrigtsen |
Subject: |
emacs-28 177718bc6d: Update string-to-number documentation to bignum Emacs |
Date: |
Mon, 9 May 2022 05:58:12 -0400 (EDT) |
branch: emacs-28
commit 177718bc6df79ee93656e20c5b25b94923040dab
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
doc/lispref/strings.texi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 6a6b756fbe..2810f686eb 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 177718bc6d: Update string-to-number documentation to bignum Emacs,
Lars Ingebrigtsen <=