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

◆ IsSubnormal() [1/3]

static bool System.Double.IsSubnormal ( double d)
inlinestatic

Definition at line 129 of file Double.cs.

130 {
131 long num = BitConverter.DoubleToInt64Bits(d);
132 num &= 0x7FFFFFFFFFFFFFFFL;
133 if (num < 9218868437227405312L && num != 0L)
134 {
135 return (num & 0x7FF0000000000000L) == 0;
136 }
137 return false;
138 }

References System.BitConverter.DoubleToInt64Bits(), and System.L.

Referenced by System.Double.IsSubnormal().