using System;
class MainClass
{
const string formatter = "{0,25:E16}{1,23:X16}";
public static void DoubleToLongBits( double argument )
{
long longValue;
longValue = BitConverter.DoubleToInt64Bits( argument );
Console.WriteLine( formatter, argument, longValue );
}
public static void Main( )
{
DoubleToLongBits( 1.0 );
DoubleToLongBits( 15.0 );
}
}