Skip to main content

rem

pub fn rem<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: ?Sized,
Available on crate feature evm only.
Expand description

Implements the MOD instruction.

Pops two values from stack and pushes the remainder of their division.