BloombergLP::bslx::GenericOutStream::putArrayFloat64

Write an array of eight-byte IEEE double-precision values to this stream.

Synopsis

Declared in <bslx_genericoutstream.h>

GenericOutStream<STREAMBUF>&
putArrayFloat64(
    double const* values,
    int numValues);

Description

Write to the stream supplied at construction the consecutive eight-byte IEEE double-precision floating-point numbers (in network byte order) comprised of the most-significant eight bytes of each of the specified numValues leading entries in the specified values (in host byte order), and return a reference to this stream. If this stream is initially invalid, this operation has no effect. The behavior is undefined unless 0 <= numValues and values has sufficient contents. Note that for non-conforming platforms, this operation may be lossy.

Return Value

a reference to this stream

Parameters

NameDescription
valuesarray of floating-point values to write
numValuesnumber of values to write