Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ GetNegStr
Function
GetNegStr
be/src/gutil/strings/human_readable.cc:17–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
16
template <typename T>
17
const char* GetNegStr(T* value) {
18
if (*value < 0) {
19
*value = -(*value);
20
return
"-"
;
21
} else {
22
return
""
;
23
}
24
}
25
26
} // namespace
27
Callers
3
DoubleToString
Method · 0.85
ToString
Method · 0.85
ToStringWithoutRounding
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected