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

Method unwrap_f64

winch/codegen/src/stack.rs:253–258  ·  view source on GitHub ↗

Get the float representation of the value. # Panics This method will panic if the value is not an f64.

(&self)

Source from the content-addressed store, hash-verified

251 /// # Panics
252 /// This method will panic if the value is not an f64.
253 pub fn unwrap_f64(&self) -> Ieee64 {
254 match self {
255 Self::F64(v) => *v,
256 v => panic!("expected value {v:?} to be f64"),
257 }
258 }
259
260 /// Returns the underlying memory value if it is one, panics otherwise.
261 pub fn unwrap_mem(&self) -> Memory {

Callers 1

pop_f64_constMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected