Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Corelib
a * b (mod n)
pub fn u256_mul_mod_n(a: u256, b: u256, n: NonZero) -> u256
use core::math::u256_mul_mod_n; let result = u256_mul_mod_n(17, 23, 29); assert!(result == 14);
Was this page helpful?