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

Method abs

cranelift/interpreter/src/value.rs:662–664  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

660 }
661
662 fn abs(self) -> ValueResult<Self> {
663 unary_match!(abs(&self); [F32, F64])
664 }
665
666 fn sadd_checked(self, other: Self) -> ValueResult<Option<Self>> {
667 binary_match!(option checked_add(&self, &other); [I8, I16, I32, I64, I128]; [i8, i16, i32, i64, i128])

Callers 8

stepFunction · 0.80
fmtMethod · 0.80
max_neg_rangeMethod · 0.80
generate_immMethod · 0.80
xFunction · 0.80
wasm_absMethod · 0.80
raw_writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected