Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / IFieldWriter Interface / Write Method / Write(Double) Method

In This Topic
    Write(Double) Method
    In This Topic
    Stores a 64-bit double value int the stream in the fewest bytes possible. For many common numbers the bit representation of a double includes lots of trailing zeros. This creates an opportunity to optimize these values in a similar way to how we optimize UInt64. The difference is just that in this case we are interested in the high-order bits whereas with UInt64 we are interested in the low order bits.
    Syntax
    'Declaration
     
    
    Overloads Sub Write( _
       ByVal value As Double _
    ) 
    void Write( 
       double value
    )

    Parameters

    value
    Remarks
    For many common numbers the bit representation of a double includes lots of trailing zeros. This creates an opportunity to optimize these values in a similar way to how we optimize UInt64. The difference is just that in this case we are interested in the high-order bits whereas with UInt64 we are interested in the low order bits.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also