MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / isNumType

Method isNumType

include/common/types.h:180–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 bool isNumType() const noexcept {
181 switch (Inner.Data.Code) {
182 case TypeCode::I32:
183 case TypeCode::I64:
184 case TypeCode::F32:
185 case TypeCode::F64:
186 case TypeCode::V128:
187 return true;
188 default:
189 return false;
190 }
191 }
192
193 bool isRefType() const noexcept {
194 switch (Inner.Data.Code) {

Callers 3

checkInstrMethod · 0.80
cleanNumericValMethod · 0.80
GlobalInstanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected