System.Xml.XmlConvert.DoubleToInt64Bits C# (CSharp) Méthode

DoubleToInt64Bits() private méthode

private DoubleToInt64Bits ( double value ) : long
value double
Résultat long
        private static unsafe long DoubleToInt64Bits(double value)
        {
            // NOTE: BitConverter.DoubleToInt64Bits is missing in Silverlight
            return *((long*)&value);
        }