Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Niko1221/Strata
/ same_float
Function
same_float
engine/src/quant/selfcheck.cpp:105–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
}
104
105
bool same_float(float a, float b) { return std::memcmp(&a, &b, sizeof a) == 0 || (a == b) || (a != a && b != b); }
106
107
bool check_dot(const DotKernel& k, std::string* why) {
108
const TypeInfo* ti = type_info(k.weight);
Callers
1
check_dot
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected