Elin Decompiled Documentation
EA 23.286 Nightly
Loading...
Searching...
No Matches
MathEx.cs
Go to the documentation of this file.
1
public
static
class
MathEx
2
{
3
public
static
int
Min
(
long
a,
int
b =
int
.MaxValue)
4
{
5
if
(a > b)
6
{
7
return
b;
8
}
9
return
(
int
)a;
10
}
11
12
public
static
long
Max
(
long
a,
long
b)
13
{
14
if
(a >= b)
15
{
16
return
a;
17
}
18
return
b;
19
}
20
}
MathEx
Definition:
MathEx.cs:2
MathEx.Min
static int Min(long a, int b=int.MaxValue)
Definition:
MathEx.cs:3
MathEx.Max
static long Max(long a, long b)
Definition:
MathEx.cs:12
Elin
Plugins.basecore
MathEx.cs
Generated by
1.9.6