forge::revm::interpreter::primitives::alloy_primitives::ruint::algorithms

Function addmul_n

pub fn addmul_n(lhs: &mut [u64], a: &[u64], b: &[u64])
Expand description

Computes wrapping lhs += a * b when all arguments are the same length.

ยงPanics

Panics if the lengts are not the same.