From 366cbebe464fdf7d1a8be75dbca945b2b97a663a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 21 Dec 2025 13:23:26 -0800 Subject: [PATCH] ; Revert previous commit. --- doc/lispref/strings.texi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 59e751d2ad6..68977eecf3b 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -1225,11 +1225,10 @@ family produce. retrieve a copy of the formatted value, use a specification that lets @code{read} reconstruct the value. To format numbers in this reversible way you can use @samp{%s} and @samp{%S}, to format just -integers you can also use @samp{%d}, and to format just nonnegative -integers you can also use @samp{#x%x} and @samp{#o%o}. Other formats -may be problematic; for example, @samp{%d} and @samp{%g} can mishandle -NaNs and can lose precision and type, and @samp{#x%x} and @samp{#o%o} -can mishandle negative integers. @xref{Input Functions}. +integers you can also use @samp{%d}, @samp{#x%x} and @samp{#o%o}. +Other formats do not guarantee preservation of all values; for example, +@samp{%g} can lose precision and type and does not preserve NaN or +infinity. @xref{Input Functions}. The functions described in this section accept a fixed set of specification characters. The next section describes a function