Write an eight‐byte IEEE double‐precision value to this stream.

Synopsis

Declared in <bslx_byteoutstream.h>

ByteOutStream&
putFloat64(double value);

Description

Write to this stream the eight‐byte IEEE double‐precision floating‐point number (in network byte order) comprised of the most‐significant eight bytes of the specified value (in host byte order), and return a reference to this stream. If this stream is initially invalid, this operation has no effect. Note that for non‐conforming platforms, this operation may be lossy.

Return Value

a reference to this stream

Parameters

Name

Description

value

floating‐point value to write

Created with MrDocs