Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ good_float
Function
good_float
src/core/impl/utils/debug.cpp:318–320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
316
namespace {
317
318
bool good_float(float val) {
319
return std::isfinite(val);
320
}
321
322
bool good_float(int) {
323
return true;
Callers
2
num2str
Function · 0.70
do_compare_tensor_value
Function · 0.70
Calls
1
isfinite
Function · 0.50
Tested by
no test coverage detected