pub fn ensureMulCapacity(rma: *Managed, a: *const Managed, b: *const Managed) !void
Use this function before doing mul if some of your parameters alias each other
mul
rma: *Managed
a: *const Managed
b: *const Managed
3350 3351 3352
pub fn ensureMulCapacity(rma: *Managed, a: *const Managed, b: *const Managed) !void { try rma.ensureCapacity(a.len() + b.len() + 1); }
Use this function before doing
mulif some of your parameters alias each other