Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Divide() [5/5]

static unsafe uint[] System.Numerics.BigIntegerCalculator.Divide ( uint[] left,
uint[] right,
out uint[] remainder )
inlinestatic

Definition at line 480 of file BigIntegerCalculator.cs.

481 {
482 uint[] array = left.AsSpan().ToArray();
483 uint[] array2 = new uint[left.Length - right.Length + 1];
484 fixed (uint* left2 = &array[0])
485 {
486 fixed (uint* right2 = &right[0])
487 {
488 fixed (uint* bits = &array2[0])
489 {
490 Divide(left2, array.Length, right2, right.Length, bits, array2.Length);
491 }
492 }
493 }
494 remainder = array;
495 return array2;
496 }

References System.array, and System.Divide.