MCPcopy Create free account
hub / github.com/WebAssembly/wabt / IsNormalDivRem

Function IsNormalDivRem

include/wabt/interp/interp-math.h:153–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151template <typename T,
152 typename std::enable_if<std::is_signed<T>::value, int>::type = 0>
153bool IsNormalDivRem(T lhs, T rhs) {
154 return !(lhs == std::numeric_limits<T>::min() && rhs == -1);
155}
156
157template <typename T,
158 typename std::enable_if<!std::is_signed<T>::value, int>::type = 0>

Callers 2

WABT_VECTORCALL IntDivFunction · 0.85
WABT_VECTORCALL IntRemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected