diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-09 11:57:46 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-09 11:57:46 +0200 |
commit | 177718bc6df79ee93656e20c5b25b94923040dab (patch) | |
tree | 34bf65a36a4a0e2e42c0f35ecd7bbcec085348fe /doc/lispref/strings.texi | |
parent | 74cc3b525ff9bd939875ce26c95b7a058426f5e7 (diff) | |
download | emacs-177718bc6df79ee93656e20c5b25b94923040dab.tar.gz emacs-177718bc6df79ee93656e20c5b25b94923040dab.tar.bz2 emacs-177718bc6df79ee93656e20c5b25b94923040dab.zip |
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).
Diffstat (limited to 'doc/lispref/strings.texi')
-rw-r--r-- | doc/lispref/strings.texi | 4 |
1 files changed, 1 insertions, 3 deletions
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 |