Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
CompareTo()
[1/4]
int System.Half.CompareTo
(
Half
other
)
inline
Definition at line
314
of file
Half.cs
.
315
{
316
if
(
this
<
other
)
317
{
318
return
-1;
319
}
320
if
(
this
>
other
)
321
{
322
return
1;
323
}
324
if
(
this
==
other
)
325
{
326
return
0;
327
}
328
if
(
IsNaN
(
this
))
329
{
330
if
(!
IsNaN
(
other
))
331
{
332
return
-1;
333
}
334
return
0;
335
}
336
return
1;
337
}
System.ExceptionArgument.other
@ other
System.Half.IsNaN
static bool IsNaN(Half value)
Definition
Half.cs:170
References
System.Half.IsNaN()
, and
System.other
.
System
Half
Generated by
1.10.0