summaryrefslogtreecommitdiffstats
path: root/yql/essentials/utils/parse_double.cpp
diff options
context:
space:
mode:
authorvvvv <[email protected]>2025-10-06 11:26:09 +0300
committervvvv <[email protected]>2025-10-06 11:53:26 +0300
commit60f45e69a4d7dbc6131208e16c45faf35aa5a985 (patch)
tree4daa45b52c295a178c7620e4c93921465fcf7950 /yql/essentials/utils/parse_double.cpp
parent1bded1a65a7e6e9171418f3e1c691d390125b64e (diff)
YQL-20086 utils
init commit_hash:54feccd520ebd0ab23612bc0cb830914dff9d0e8
Diffstat (limited to 'yql/essentials/utils/parse_double.cpp')
-rw-r--r--yql/essentials/utils/parse_double.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/yql/essentials/utils/parse_double.cpp b/yql/essentials/utils/parse_double.cpp
index 90923160c55..a5cbebe50e6 100644
--- a/yql/essentials/utils/parse_double.cpp
+++ b/yql/essentials/utils/parse_double.cpp
@@ -16,7 +16,7 @@ bool GenericTryFloatFromString(TStringBuf buf, T& value) {
if (TryFromString(buf.data(), buf.size(), value)) {
return true;
}
-
+
const char* ptr = buf.data();
ui32 size = buf.size();
char sign = '+';
@@ -45,7 +45,7 @@ bool GenericTryFloatFromString(TStringBuf buf, T& value) {
return true;
}
-}
+} // namespace
float FloatFromString(TStringBuf buf) {
float result = 0;
@@ -73,4 +73,4 @@ bool TryDoubleFromString(TStringBuf buf, double& value) {
return GenericTryFloatFromString(buf, value);
}
-}
+} // namespace NYql