Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Abs()
[7/8]
static sbyte System.Math.Abs
(
sbyte
value
)
inline
static
Definition at line
202
of file
Math.cs
.
203
{
204
if
(
value
< 0)
205
{
206
value
= (sbyte)(-
value
);
207
if
(
value
< 0)
208
{
209
ThrowAbsOverflow
();
210
}
211
}
212
return
value
;
213
}
System.Math.ThrowAbsOverflow
static void ThrowAbsOverflow()
Definition
Math.cs:223
System.ExceptionArgument.value
@ value
References
System.Math.ThrowAbsOverflow()
, and
System.value
.
System
Math
Generated by
1.10.0