changeset 55737:2ac351855ad7

(Output Variables): Doc float-output-format.
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 May 2004 22:07:39 +0000
parents c5ea37f370b5
children 69dcc9afcf6f
files lispref/streams.texi
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/streams.texi	Sat May 22 22:05:57 2004 +0000
+++ b/lispref/streams.texi	Sat May 22 22:07:39 2004 +0000
@@ -821,6 +821,17 @@
 to bind it to @code{nil} when you bind @code{print-continuous-numbering}.
 @end defvar
 
+@defvar float-output-format
+This variable specifies how to print floating point numbers.  Its
+default value is @code{nil}, meaning use the shortest output
+that represents the number without losing information.
+
+To control output format more precisely, you can put a string in this
+variable.  The string should hold a @samp{%}-specification to be used
+in the C function @code{sprintf}.  For further restrictions on what
+you can use, see the variable's documentation string.
+@end defvar
+
 @ignore
    arch-tag: 07636b8c-c4e3-4735-9e06-2e864320b434
 @end ignore