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

◆ CreateDouble()

static double System.Half.CreateDouble ( bool sign,
ushort exp,
ulong sig )
inlinestaticprivate

Definition at line 609 of file Half.cs.

610 {
611 return BitConverter.UInt64BitsToDouble((ulong)(((long)(sign ? 1 : 0) << 63) + (long)((ulong)exp << 52)) + sig);
612 }

References System.BitConverter.UInt64BitsToDouble().

Referenced by System.Half.operator double().