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

◆ IsSubnormal() [1/3]

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

Definition at line 129 of file Single.cs.

130 {
131 int num = BitConverter.SingleToInt32Bits(f);
132 num &= 0x7FFFFFFF;
133 if (num < 2139095040 && num != 0)
134 {
135 return (num & 0x7F800000) == 0;
136 }
137 return false;
138 }

References System.BitConverter.SingleToInt32Bits().

Referenced by System.Single.IsSubnormal().