Write to this stream the one‐byte type indicator for an eight‐byte double‐precision floating‐point number, the four‐byte, two's complement integer (in network byte order) comprised of the least‐significant four bytes of the specified numValues (in host byte order), and 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 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. If the next output operation has been set to be marked invalid (see makeNextInvalid), reset this marking and emit the invalid indicator instead of the type indicator. The behavior is undefined unless 0 <= numValues and values has sufficient contents. Note that for non‐conforming platforms, this operation may be lossy.

Synopsis

Declared in <bslx_testoutstream.h>

TestOutStream&
putArrayFloat64(
    double const* values,
    int numValues);

Created with MrDocs