aboutsummaryrefslogtreecommitdiff
path: root/absl/strings/charconv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/strings/charconv.cc')
-rw-r--r--absl/strings/charconv.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/strings/charconv.cc b/absl/strings/charconv.cc
index 9f4e6d7c..c510aea4 100644
--- a/absl/strings/charconv.cc
+++ b/absl/strings/charconv.cc
@@ -203,7 +203,8 @@ struct FloatTraits<float> {
if (mantissa > kMantissaMask) {
// Normal value.
// Adjust by 127 for the exponent representation bias, and an additional
- // 23 due to the implied decimal point in the IEEE mantissa representation.
+ // 23 due to the implied decimal point in the IEEE mantissa
+ // representation.
flt += static_cast<uint32_t>(exponent + 127 + kTargetMantissaBits - 1)
<< 23;
mantissa &= kMantissaMask;