summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 19:55:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 19:55:16 (GMT)
commit1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6 (patch)
tree7c1d8d3f8cf1b287cbf3d710de07c8be92afc08b /generic/tclStrToD.c
parentacb6a88df555fe8bdf2271bdbddb5fe19046b6c2 (diff)
parentab6e69444f61e776bbfb2bcf6a6ca95047df149c (diff)
downloadtcl-1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6.zip
tcl-1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6.tar.gz
tcl-1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclStrToD.c')
-rwxr-xr-xgeneric/tclStrToD.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 6502733..a26c361 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -3996,8 +3996,8 @@ StrictBignumConversion(
* This function is a service routine that produces the string of digits for
* floating-point-to-decimal conversion. It can do a number of things
* according to the 'flags' argument. Valid values for 'flags' include:
- * TCL_DD_SHORTEST - This is the default for floating point conversion if
- * ::tcl_precision is 0. It constructs the shortest string of
+ * TCL_DD_SHORTEST - This is the default for floating point conversion.
+ * It constructs the shortest string of
* digits that will reconvert to the given number when scanned.
* For floating point numbers that are exactly between two
* decimal numbers, it resolves using the 'round to even' rule.
@@ -4012,8 +4012,7 @@ StrictBignumConversion(
* subsequent input conversion is 'round up' or 'round down'
* rather than 'round to nearest', but is surprising otherwise.
* TCL_DD_E_FORMAT - This value is used to prepare numbers for %e format
- * conversion (or for default floating->string if tcl_precision
- * is not 0). It constructs a string of at most 'ndigits' digits,
+ * conversion. It constructs a string of at most 'ndigits' digits,
* choosing the one that is closest to the given number (and
* resolving ties with 'round to even'). It is allowed to return
* fewer than 'ndigits' if the number converts exactly; if the