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

◆ Abs() [6/8]

static nint System.Math.Abs ( nint value)
inlinestatic

Definition at line 187 of file Math.cs.

188 {
189 if (value < 0)
190 {
191 value = -value;
192 if (value < 0)
193 {
195 }
196 }
197 return value;
198 }
static void ThrowAbsOverflow()
Definition Math.cs:223

References System.Math.ThrowAbsOverflow(), and System.value.