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

◆ PowCore() [2/10]

static void System.Numerics.BigIntegerCalculator.PowCore ( uint power,
ref BitsBuffer value,
ref BitsBuffer result,
ref BitsBuffer temp )
inlinestaticprivate

Definition at line 906 of file BigIntegerCalculator.cs.

907 {
908 while (power != 0)
909 {
910 if ((power & 1) == 1)
911 {
912 result.MultiplySelf(ref value, ref temp);
913 }
914 if (power != 1)
915 {
916 value.SquareSelf(ref temp);
917 }
918 power >>= 1;
919 }
920 }

References System.value.