Skip to content

limb32Increment

limb32Increment(limbs): Uint32Array

Defined in: limb32/increment.ts:9

limbs + 1, returning a fresh array with the carry propagated across words.

A carry out of the top limb is dropped: the result keeps the input’s width.

Time complexity: O(n) in the limb count, worst case; O(1) when the low limb does not overflow.

Uint32Array

Uint32Array