I’m looking for a C# equivalent to Java’s Double.longBitsToDouble method. I have a double value stored in a ulong and I want those bits to be converted to represent a double. Is there an easy way to do this in C#?
I’m looking for a C# equivalent to Java’s Double.longBitsToDouble method. I have a double
Share
Here you go: http://msdn.microsoft.com/en-us/library/system.bitconverter.aspx