From 28ad5a88c9d11e3f16a86474b0e82dd7d6bc9d37 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 1 Feb 2024 09:42:36 +0000 Subject: Forgot that long doubles are supported in Tcl_ObjPrintf() --- doc/StringObj.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/StringObj.3 b/doc/StringObj.3 index 65216d3..02fda8b 100644 --- a/doc/StringObj.3 +++ b/doc/StringObj.3 @@ -323,8 +323,8 @@ core formatting engine used by \fBTcl_Format\fR. This means the set of supported conversion specifiers is that of the \fBformat\fR command but the behavior is as similar as possible to \fBsprintf\fR. The "hh" and (Microsoft-specific) "w" format specifiers are not supported. The "L" -format specifier means that an "mp_int *" argument is expected (in combination -with "d"/"i"/"u"/"o"/"x"/"X", it cannot be used for long doubles). When a +format specifier means that an "mp_int *" argument is expected (or a +"long double" in combination with \fB[aAeEgGaA]\fR). When a conversion specifier passed to \fBTcl_ObjPrintf\fR includes a precision, the value is taken as a number of bytes, as \fBsprintf\fR does, and not as a number of characters, as \fBformat\fR does. This is done on the -- cgit v0.12