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

◆ Power()

static decimal System.Xml.Schema.FacetsChecker.Power ( int x,
int y )
inlinestaticpackageinherited

Definition at line 757 of file FacetsChecker.cs.

758 {
759 decimal result = 1m;
760 decimal num = x;
761 if (y > 28)
762 {
763 return decimal.MaxValue;
764 }
765 for (int i = 0; i < y; i++)
766 {
767 result *= num;
768 }
769 return result;
770 }

References System.Xml.Dictionary, and System.Text.RegularExpressions.i.

Referenced by System.Xml.Schema.Numeric10FacetsChecker.CheckTotalAndFractionDigits().