Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegCC
/ good_float
Function
good_float
compiler/test/kernel/common/src/checker.cpp:98–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
96
return x.as_int8() - y.as_int8();
97
}
98
static inline bool good_float(float val) {
99
return std::isfinite(val);
100
}
101
102
static inline bool good_float(int) {
103
return true;
Callers
1
assert_tensor_eq_with_iter
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected