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

◆ Pow() [10/10]

static uint[] System.Numerics.BigIntegerCalculator.Pow ( uint[] value,
uint[] power,
uint[] modulus )
inlinestatic

Definition at line 1004 of file BigIntegerCalculator.cs.

1005 {
1006 if (value.Length > modulus.Length)
1007 {
1008 value = Remainder(value, modulus);
1009 }
1010 int size = modulus.Length + modulus.Length;
1011 BitsBuffer value2 = new BitsBuffer(size, value);
1012 return PowCore(power, modulus, ref value2);
1013 }
static uint Remainder(uint[] left, uint right)
static uint[] PowCore(uint power, ref BitsBuffer value)

References System.Numerics.BigIntegerCalculator.PowCore(), System.Numerics.BigIntegerCalculator.Remainder(), and System.value.