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

◆ Pow() [8/10]

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

Definition at line 986 of file BigIntegerCalculator.cs.

987 {
988 if (value.Length > modulus.Length)
989 {
990 value = Remainder(value, modulus);
991 }
992 int size = modulus.Length + modulus.Length;
993 BitsBuffer value2 = new BitsBuffer(size, value);
994 return PowCore(power, modulus, ref value2);
995 }
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.