Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ zeros
Function
zeros
bolt/type/tests/DecimalTest.cpp:89–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
std::string zeros(uint32_t numZeros) {
90
return std::string(numZeros,
'0'
);
91
}
92
93
TEST(DecimalTest, toString) {
94
EXPECT_EQ(std::to_string(HugeInt::build(0, 0)),
"0"
);
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected