Write the value of the specified object to the specified output stream in a single line format as described in the IEEE‐754 2008 standard (5.12 Details of conversions between floating point numbers and external character sequences), and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect.

Synopsis

Declared in <bdldfp_decimal.h>

template<
    class CHARTYPE,
    class TRAITS>
bsl::basic_ostream<CHARTYPE, TRAITS>&
operator<<(
    bsl::basic_ostream<CHARTYPE, TRAITS>& stream,
    Decimal128 object);

Description

NOTE: This method does not yet fully support iostream flags or the decimal floating point exception context.

Created with MrDocs