Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
►
Terraria
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
◆
CompareTo()
[1/4]
int System.Single.CompareTo
(
float
value
)
inline
Definition at line
183
of file
Single.cs
.
184
{
185
if
(
this
<
value
)
186
{
187
return
-1;
188
}
189
if
(
this
>
value
)
190
{
191
return
1;
192
}
193
if
(
this
==
value
)
194
{
195
return
0;
196
}
197
if
(
IsNaN
(
this
))
198
{
199
if
(!
IsNaN
(
value
))
200
{
201
return
-1;
202
}
203
return
0;
204
}
205
return
1;
206
}
System.ExceptionArgument.value
@ value
System.Single.IsNaN
static bool IsNaN(float f)
Definition
Single.cs:90
References
System.Single.IsNaN()
, and
System.value
.
System
Single
Generated by
1.10.0