Parallelised addition for bigints #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addition can be parallelised for
bigints by:For example:
Obviously each element will be a full 64-bit integer rather than individual digits, but the algorithm still applies. In the worst case, this algorithm will take
nsteps, wherenis the size of the larger array. This is the99999999\dots9+1case. However, in every other case, it will more efficient.