MCPcopy Create free account
hub / github.com/numpy/numpy / BigInt_Copy

Function BigInt_Copy

numpy/core/src/multiarray/dragon4.c:190–200  ·  view source on GitHub ↗

Copy integer */

Source from the content-addressed store, hash-verified

188
189/* Copy integer */
190static void
191BigInt_Copy(BigInt *dst, const BigInt *src)
192{
193 npy_uint32 length = src->length;
194 npy_uint32 * dstp = dst->blocks;
195 const npy_uint32 *srcp;
196 for (srcp = src->blocks; srcp != src->blocks + length; ++dstp, ++srcp) {
197 *dstp = *srcp;
198 }
199 dst->length = length;
200}
201
202/* Basic type accessors */
203static void

Callers 3

BigInt_Pow10Function · 0.85
BigInt_MultiplyPow10Function · 0.85
Dragon4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected