MCPcopy 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
43static inline bool good_float(float val) {
44 return std::isfinite(val);
45}
46
47static inline bool good_float(int) {
48 return true;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected