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

◆ IsNormal() [1/3]

static bool System.Single.IsNormal ( float f)
inlinestatic

Definition at line 110 of file Single.cs.

111 {
112 int num = BitConverter.SingleToInt32Bits(f);
113 num &= 0x7FFFFFFF;
114 if (num < 2139095040 && num != 0)
115 {
116 return (num & 0x7F800000) != 0;
117 }
118 return false;
119 }

References System.BitConverter.SingleToInt32Bits().

Referenced by System.Single.IsNormal().