Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Abs()
[8/8]
static
short
System.Math.Abs
(
short
value
)
inline
static
Definition at line
145
of file
Math.cs
.
146
{
147
if
(
value
< 0)
148
{
149
value
= (
short
)(-
value
);
150
if
(
value
< 0)
151
{
152
ThrowAbsOverflow
();
153
}
154
}
155
return
value
;
156
}
System.Math.ThrowAbsOverflow
static void ThrowAbsOverflow()
Definition
Math.cs:223
short
System.ExceptionArgument.value
@ value
References
System.Math.ThrowAbsOverflow()
, and
System.value
.
System
Math
Generated by
1.10.0