fn addScalar(r: *Mutable, a: Const, scalar: anytype) void

r = a + scalar

r and a may be aliases. scalar is a primitive integer type.

Asserts the result fits in r. An upper bound on the number of limbs needed by r is @max(a.limbs.len, calcLimbLen(scalar)) + 1.

Parameters

r: *Mutable,
a: Const,
scalar: anytype,