From 9c0649bcfda1277ada69cc6e44f1df926458d922 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Mon, 17 Sep 2012 17:54:22 -0700 Subject: * stream.c (vformat): Slight change in ~s directive. For a floating point integer, .0 is now always shown if the precision is not given, or if it is given and nonzero. Previous behavior of ~s was add .0 only when a precision is not specified. The new behavior is more sensible and consistent with documentation. * txr.1: Typo fixed in related documentation. --- txr.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index a641d91f..5781418c 100644 --- a/txr.1 +++ b/txr.1 @@ -9415,7 +9415,7 @@ semantics. The precision field is treated very similarly to the ~a format directive, except that non-exponentiated floating point numbers that would be mistaken for integers include a trailing ".0" for the sake read-print consistency. Objects truncated by precision may not have read-print -consitency. For instance, if a string object is truncated, it loses its +consistency. For instance, if a string object is truncated, it loses its trailing closing quote, so that the resulting representation is no longer a properly formed string object. -- cgit v1.2.3