diff options
author | dgp <dgp@users.sourceforge.net> | 2019-12-22 23:48:00 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2019-12-22 23:48:00 (GMT) |
commit | 38d92076278cb27c34225e14c8240efe720ca431 (patch) | |
tree | 21e89d4af0a16ccb5e175ced8c98542f010477db /generic | |
parent | e52a22ff57e01e8754a81d91e63d00815a68f206 (diff) | |
download | tcl-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.c | 2 |
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; } |