Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals() [2/3]

bool System.Single.Equals ( float obj)
inline

Definition at line 261 of file Single.cs.

262 {
263 if (obj == this)
264 {
265 return true;
266 }
267 if (IsNaN(obj))
268 {
269 return IsNaN(this);
270 }
271 return false;
272 }
static bool IsNaN(float f)
Definition Single.cs:90

References System.Single.IsNaN(), and System.obj.