BitConverter.Int64BitsToDouble(Int64) Method is used to convert the specified 64-bit signed integer to a double-precision floating point number.
public static double Int64BitsToDouble (long value);
Parameters: This method takes the 64-bit signed integer value as a parameter.
Return Value: This method returns a double-precision floating point number whose value is equivalent to value.
Below programs illustrate the use of BitConverter.Int64BitsToDouble(Int64) Method:
64-bit signed integer: 214748364 double-precision floating point number: 1.06099789153011E-315
64-bit signed integer: 1 double-precision floating point number: 4.94065645841247E-324
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.