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

Class Float32

crates/test-util/src/component.rs:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44/// Newtype wrapper for `f32` whose `PartialEq` impl considers NaNs equal to each other.
45#[derive(Copy, Clone, Debug, Arbitrary)]
46pub struct Float32(pub f32);
47
48/// Newtype wrapper for `f64` whose `PartialEq` impl considers NaNs equal to each other.
49#[derive(Copy, Clone, Debug, Arbitrary)]

Callers 11

to_component_valMethod · 0.85
bench_callsFunction · 0.85
primitivesFunction · 0.85
valFunction · 0.85
liftMethod · 0.85
loadMethod · 0.85
make_f32Method · 0.85
test_round_trip_floatsFunction · 0.85
fromMethod · 0.85
arbitrary_valFunction · 0.85

Calls

no outgoing calls

Tested by 3

primitivesFunction · 0.68
test_round_trip_floatsFunction · 0.68