smod

pub fn smod<WIRE, H>(context: InstructionContext<'_, H, WIRE>)
where WIRE: InterpreterTypes, H: ?Sized,
Available on crate feature evm only.
Expand description

Implements the SMOD instruction.

Performs signed modulo of two values from stack.