MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / value

Method value

crates/cli/src/wast_runner.rs:822–827  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

820 fn canonical_nan() -> WasmValue;
821 fn arithmetic_nan() -> WasmValue;
822 fn value(&self) -> WasmValue {
823 match self.bits() {
824 Bits::U32(v) => WasmValue::F32(f32::from_bits(v)),
825 Bits::U64(v) => WasmValue::F64(f64::from_bits(v)),
826 }
827 }
828}
829
830impl FloatToken for wast::token::F32 {

Callers 1

nanpattern2tinywasmvalueFunction · 0.80

Implementers 1

wast_runner.rscrates/cli/src/wast_runner.rs

Calls 1

bitsMethod · 0.80

Tested by

no test coverage detected