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

Write(Double) Method
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
 
Public Overloads Sub Write( _
   ByVal value As Double _
) 
 

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