BloombergLP::bslx::GenericOutStream::putFloat64

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

Synopsis

Declared in <bslx_genericoutstream.h>

GenericOutStream<STREAMBUF>&
putFloat64(double value);

Description

Write to the stream supplied at construction 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

NameDescription
valuefloating-point value to write