Blockchain Commons Rand TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function wideMul

    • Performs wide multiplication for unsigned integers. Returns (low, high) parts of the full-width result.

      This is equivalent to Rust's widening_mul for unsigned types.

      Parameters

      • a: bigint
      • b: bigint
      • bits: number

      Returns WideMulResult