MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / is_float

Method is_float

cranelift/codegen/src/ir/types.rs:239–244  ·  view source on GitHub ↗

Is this a scalar floating point type?

(self)

Source from the content-addressed store, hash-verified

237
238 /// Is this a scalar floating point type?
239 pub fn is_float(self) -> bool {
240 match self {
241 F16 | F32 | F64 | F128 => true,
242 _ => false,
243 }
244 }
245
246 /// Get log_2 of the number of lanes in this SIMD vector type.
247 ///

Callers 12

fmtMethod · 0.45
is_base_typeMethod · 0.45
resolveMethod · 0.45
compute_arg_locsMethod · 0.45
loadMethod · 0.45
storeMethod · 0.45
gen_moveMethod · 0.45
type_register_classMethod · 0.45
ty_supportedMethod · 0.45
gen_loadMethod · 0.45
gen_storeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected