summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-12-22 23:48:00 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-12-22 23:48:00 (GMT)
commit38d92076278cb27c34225e14c8240efe720ca431 (patch)
tree21e89d4af0a16ccb5e175ced8c98542f010477db /generic
parente52a22ff57e01e8754a81d91e63d00815a68f206 (diff)
downloadtcl-38d92076278cb27c34225e14c8240efe720ca431.zip
tcl-38d92076278cb27c34225e14c8240efe720ca431.tar.gz
tcl-38d92076278cb27c34225e14c8240efe720ca431.tar.bz2
Assign a double literal to a double variable. No point in requiring conversion.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclStrToD.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index a93c81b..e8cd416 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -1650,7 +1650,7 @@ MakeHighPrecisionDouble(
goto returnValue;
}
if (numSigDigs+exponent-1 < minDigits) {
- retval = 0;
+ retval = 0.0;
goto returnValue;
}