Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ to_string
Method
to_string
cpp/fory/util/float16.h:138–140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
// ---- String representation ----
137
138
[[nodiscard]] static std::string to_string(float16_t h) {
139
return std::to_string(h.to_float());
140
}
141
142
// ---- Arithmetic (computed in float32, rounded back to float16) ----
143
Callers
nothing calls this directly
Calls
1
to_float
Method · 0.45
Tested by
no test coverage detected