Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegCC
/ good_float
Function
good_float
runtime/test/common/common.cpp:43–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
static inline bool good_float(float val) {
44
return std::isfinite(val);
45
}
46
47
static inline bool good_float(int) {
48
return true;
Callers
1
assert_tensor_eq_with_dtype
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected